summaryrefslogtreecommitdiffstats
path: root/lib/general.lib.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-27 05:10:43 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2006-03-27 05:10:43 +0000
commitdcb93abc50ddea7da48f104ad3b861dee342d623 (patch)
tree1dc76dd82183560556bf95247cdc55e63bbb0de7 /lib/general.lib.php
parent7673d000dd8ec85908a99a1174840c8ca3c53e16 (diff)
downloadampache-dcb93abc50ddea7da48f104ad3b861dee342d623.tar.gz
ampache-dcb93abc50ddea7da48f104ad3b861dee342d623.tar.bz2
ampache-dcb93abc50ddea7da48f104ad3b861dee342d623.zip
fixed session crap with https and charset mojo with htmlentites
Diffstat (limited to 'lib/general.lib.php')
-rw-r--r--lib/general.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/general.lib.php b/lib/general.lib.php
index e485337f..fde2f01c 100644
--- a/lib/general.lib.php
+++ b/lib/general.lib.php
@@ -801,7 +801,7 @@ function scrub_out($str) {
$str = stripslashes($str);
}
- $str = htmlentities($str);
+ $str = htmlentities($str,ENT_QUOTES,conf('site_charset'));
return $str;