Username needs to be url encoded too.
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 24 Sep 2011 12:35:43 +0000 (12:35 +0000)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 24 Sep 2011 12:36:40 +0000 (12:36 +0000)
webcit/static/instant_messenger.html

index d254e0ba4548db321e53faa5718e060284f2c9fa..59f9981d4a42ec90d0c0d9015c3c6bb1463ff238 100644 (file)
@@ -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',
                {