summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/class/ajax.class.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/class/ajax.class.php b/lib/class/ajax.class.php
index 2c0c9aff..f5984912 100644
--- a/lib/class/ajax.class.php
+++ b/lib/class/ajax.class.php
@@ -81,7 +81,13 @@ class Ajax {
else {
$source_txt = "'$source'";
}
-
+
+ /*
+ Replaces ampersand with & for w3c conformance.
+ Fixme: ajax doesn't seem to work anymore with this...
+ */
+ //$url = htmlspecialchars($url);
+
if ($post) {
$ajax_string = "ajaxPost('$url','$post',$source_txt)";
}