Zend Framework

Zend_Filter_HtmlEntities legacy constructor is not handled properly

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.0
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Filter
  • Labels:
    None

Description

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.

Activity

Hide
Björn Graf added a comment -

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

Show
Björn Graf added a comment - Patch to fix replace the $options in lines 68 and 70 with $argv.
Hide
Thomas Weidner added a comment -

Fixed with r17808

Show
Thomas Weidner added a comment - Fixed with r17808

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: