From 10a766ecfb05e95408669c23af046380a450274d Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 9 Sep 2008 19:50:22 +0000 Subject: [PATCH] Monotone-Parent: 85961f48e9ccfa59439adf265a8e3984d08ab921 Monotone-Revision: 8b658ab977c17c143a0aa2c8e59809a3ee8b7d99 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-09-09T19:50:22 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/UIxMailEditor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/WebServerResources/UIxMailEditor.js b/UI/WebServerResources/UIxMailEditor.js index 62245ee27..64b970e37 100644 --- a/UI/WebServerResources/UIxMailEditor.js +++ b/UI/WebServerResources/UIxMailEditor.js @@ -405,8 +405,8 @@ function performSearch() { document.contactLookupAjaxRequest.abort(); } if (MailEditor.currentField.value.trim().length > 1) { - var urlstr = ( UserFolderURL + "Contacts/allContactSearch?search=" - + MailEditor.currentField.value ); + var urlstr = (UserFolderURL + "Contacts/allContactSearch?search=" + + encodeURIComponent(MailEditor.currentField.value)); document.contactLookupAjaxRequest = triggerAjaxRequest(urlstr, performSearchCallback, MailEditor.currentField); }