6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
8/8/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#9567] charset pb replying to message
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..__ .__..___. |__|[__)[__][__ | | || \| |[___|___
Comment
>> --- Xss.php.org 2011-03-15 10:41:22.000000000 +0100 >> +++ Xss.php 2011-03-15 10:41:24.000000000 +0100 >> @@ -130,7 +130,7 @@ >> } >> } >> >> - return Horde_String::convertCharset($text, $dom->encoding, >> $this->_params['charset']); >> + return $text; >> } > > This isn't correct. Xss filter needs to return text in whatever > charset it was provided in, which is why the convertCharset() call is > necessary. The question is why $dom->encoding is 'ISO-8859-1' for > you and 'UTF-8' for *everybody* else.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers