From: Wilfried Goesgens Date: Sat, 24 Sep 2011 12:35:43 +0000 (+0000) Subject: Username needs to be url encoded too. X-Git-Tag: v8.01~16 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=f6ad0294f5ce1f0370a7cf16bdac90627a2c1d42 Username needs to be url encoded too. --- diff --git a/webcit/static/instant_messenger.html b/webcit/static/instant_messenger.html index d254e0ba4..59f9981d4 100644 --- a/webcit/static/instant_messenger.html +++ b/webcit/static/instant_messenger.html @@ -55,7 +55,7 @@ function SendSomething(which_div, sendform, recipient) { // Send the text to the server parms = 'r=' + Math.random() - + '&recp=' + recipient + + '&recp=' + encodeURIComponent(recipient) + '&msg=' + encodeURIComponent(thetext); new Ajax.Request('../ajax_send_instant_message', {