From 881a7a20d4997a43d622cf30533859a65e6bfde3 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 3 Dec 2007 08:23:23 +0000 Subject: [PATCH] Escape characters being transmitted by the instant messenger in webcit --- 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 8b7277f94..eea8c5868 100644 --- a/webcit/static/instant_messenger.html +++ b/webcit/static/instant_messenger.html @@ -47,7 +47,7 @@ function SendSomething(which_div, sendform, recipient) { // Send the text to the server parms = 'r=' + Math.random() - + '&g_cmd=SEXP ' + recipient + '|' + thetext; + + '&g_cmd=SEXP ' + recipient + '|' + escape(thetext); new Ajax.Request('../ajax_servcmd', { method: 'get', -- 2.39.2