ZF-1602: Data not in UTF-8 is stripped by htmlentities()
Description
Zend_Debug::dump() bug:
if data in variable not in utf-8, its striped by htmlentities
bug:
Debug.php @ 93 line
htmlentities($output, ENT_QUOTES, 'UTF-8')
fix:
htmlspecialchars($output, ENT_QUOTES)
Why? 1) Data can be not only utf-8 encoding 2) if you are using ENT_QUOTES, you dont need htmlentities ;-)
Comments
Posted by Darby Felton (darby) on 2007-06-28T09:50:42.000+0000
[~andries] has volunteered to fix this for us.
Posted by Andries Seutens (andries) on 2007-06-28T12:16:47.000+0000
Fixed in r5472