commit 1694ed44cdad87c281d8ce8faee5f0e853123b92
parent 46c1913860bdb59d25d54f3457dd59359e106a14
Author: Alexander Burger <abu@software-lab.de>
Date: Fri, 12 Oct 2012 08:30:54 +0200
Took out encodeURIComponent() from JS 'lisp' calls
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/form.js b/lib/form.js
@@ -1,4 +1,4 @@
-/* 04jul12abu
+/* 12oct12abu
* (c) Software Lab. Alexander Burger
*/
@@ -472,9 +472,9 @@ function lisp(url) {
if (!LispReq)
return true;
if (arguments.length > 1) {
- url += "?" + encodeURIComponent(arguments[1]);
+ url += "?" + arguments[1]; // arguments should be properly encoded
for (var i = 2; i < arguments.length; ++i)
- url += "&" + encodeURIComponent(arguments[i]);
+ url += "&" + arguments[i];
}
try {LispReq.open("GET", url);}
catch (e) {return true;}