mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-09 21:19:11 -04:00
Convert any UTF-7 to UTF-8 so that fragment pages (like AJAX replies)
won't be mistakenly interpreted as UTF-7. Fixes #1869.
This commit is contained in:
@@ -31,7 +31,7 @@ class SafeString_Core {
|
||||
$this->_is_safe_html = $string->_is_safe_html;
|
||||
$string = $string->unescaped();
|
||||
}
|
||||
$this->_raw_string = (string) $string;
|
||||
$this->_raw_string = mb_convert_encoding((string) $string, 'UTF-8', 'UTF-7');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user