MDL-29442 add missing utf-8 to entity html encoding and decoding

This commit is contained in:
Petr Škoda
2012-12-09 18:22:16 +01:00
parent 325e266e95
commit f48902e139
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -750,7 +750,7 @@ class cache_definition {
if (!empty($this->identifiers)) {
$identifiers = array();
foreach ($this->identifiers as $key => $value) {
$identifiers[] = htmlentities($key).'='.htmlentities($value);
$identifiers[] = htmlentities($key, ENT_QUOTES, 'UTF-8').'='.htmlentities($value, ENT_QUOTES, 'UTF-8');
}
$this->keyprefixmulti['identifiers'] = join('&', $identifiers);
}