X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2FJsHttpRequest.php;h=f71c0ed236075c0bd5a53cf1e3f145718d3f1fcf;hb=927ebef2443b6dda544056e33ec84b71d2bdb6c2;hp=78b0b2ce7e88a28933f26eb5fcc2f75f542c591d;hpb=8ca0a1cca99669b1c924dc5daa1a581a3c3206a8;p=fa-stable.git diff --git a/includes/JsHttpRequest.php b/includes/JsHttpRequest.php index 78b0b2ce..f71c0ed2 100644 --- a/includes/JsHttpRequest.php +++ b/includes/JsHttpRequest.php @@ -187,7 +187,7 @@ class JsHttpRequest if ($this->SCRIPT_DECODE_MODE == 'entities') return str_replace(array('"', '<', '>'), array('"', '<', '>'), $s); else - return htmlspecialchars($s); + return html_specials_encode($s); }