summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2014-08-30 00:53:41 +0200
committerBenny Baumann <BenBE@geshi.org>2014-08-30 00:53:41 +0200
commitea4fe47d7f3fb6926bae6d360c9d61e805999e00 (patch)
tree1b7ac32a81f5e522b0cb5f594ac820b7e9812e49
parent7fa0fbd5ca00be480a61499bc8d8ff658ac1895d (diff)
downloadcacert-devel-bug-1301.tar.gz
cacert-devel-bug-1301.tar.xz
cacert-devel-bug-1301.zip
bug 1301: Fix issue with missing default for the encodingbug-1301
-rw-r--r--includes/general.php2
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));