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.11~445 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=2ebab2f63ec2e3e865c7721dde9b3b67058b29a2;hp=44301ceca3d7d6baa7c730e06334b8ec5f19a46b;p=citadel.git 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', {