From f6ad0294f5ce1f0370a7cf16bdac90627a2c1d42 Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sat, 24 Sep 2011 12:35:43 +0000 Subject: [PATCH] Username needs to be url encoded too. --- webcit/static/instant_messenger.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', { -- 2.30.2