diff options
author | Benny Baumann <BenBE@geshi.org> | 2014-08-30 00:53:41 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2014-08-30 00:53:41 +0200 |
commit | ea4fe47d7f3fb6926bae6d360c9d61e805999e00 (patch) | |
tree | 1b7ac32a81f5e522b0cb5f594ac820b7e9812e49 | |
parent | 7fa0fbd5ca00be480a61499bc8d8ff658ac1895d (diff) | |
download | cacert-devel-ea4fe47d7f3fb6926bae6d360c9d61e805999e00.tar.gz cacert-devel-ea4fe47d7f3fb6926bae6d360c9d61e805999e00.tar.xz cacert-devel-ea4fe47d7f3fb6926bae6d360c9d61e805999e00.zip |
bug 1301: Fix issue with missing default for the encodingbug-1301
-rw-r--r-- | includes/general.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/general.php b/includes/general.php index 854aab4..26a369e 100644 --- a/includes/general.php +++ b/includes/general.php @@ -664,7 +664,7 @@ function sanitizeHTML($input) { - return htmlentities(strip_tags($input), ENT_QUOTES); + return htmlentities(strip_tags($input), ENT_QUOTES, 'ISO-8859-1'); //In case of problems, please use the following line again: //return htmlentities(strip_tags(utf8_decode($input)), ENT_QUOTES); //return htmlspecialchars(strip_tags($input)); |