ZF-7481: Zend_Filter_HtmlEntities legacy constructor is not handled properly

Issue Type: Bug Created: 2009-08-04T23:17:30.000+0000 Last Updated: 2009-08-24T14:52:28.000+0000 Status: Resolved Fix version(s): - 1.9.3 (22/Sep/09)

Reporter: Björn Graf (bjoern) Assignee: Thomas Weidner (thomas) Tags: - Zend_Filter

Related issues: Attachments: - HtmlEntities.php.patch


The updated Zend_Filter_HtmlEntities constructor to favor a single options array does not translate the deprecated constructor call properly. While the backwards compatibility code path retrieves the functions argument array (line 67) it does not make any use of it (lines 68 and 70), causing a notice to be emitted and resulting in ignoring the passed in charset argument.


Posted by Björn Graf (bjoern) on 2009-08-04T23:44:59.000+0000

Patch to fix replace the $options in lines 68 and 70 with $argv.

Posted by Thomas Weidner (thomas) on 2009-08-24T14:52:28.000+0000

Fixed with r17808

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.