Explorar o código

#245 double encoding of htmlentities

Alex Trofimov %!s(int64=11) %!d(string=hai) anos
pai
achega
f8a2f702bf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      inc/utils.inc.php

+ 1 - 1
inc/utils.inc.php

@@ -248,7 +248,7 @@ function process_pass_data( $text, $strip_tags = 0 )
  */
  */
 function htmlspecialchars_adv( $string )
 function htmlspecialchars_adv( $string )
 {
 {
-    return htmlspecialchars($string, ENT_COMPAT, 'UTF-8');
+    return htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false);
 }
 }
 
 
 /**
 /**