ZF-9295: escape callback doesn't accept additional params

Issue Type: Bug Created: 2010-03-01T02:31:06.000+0000 Last Updated: 2010-06-18T05:17:08.000+0000 Status: Resolved Fix version(s): - 1.10.6 (22/Jun/10)

Reporter: matthias schelling (schellmax) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_View

Related issues: Attachments:


as stated in the docs (…), a custom callback function can receive additional parameters: "The callback function or method should take the value to be escaped as its first parameter, and all other parameters should be optional." this doesn't work though as the escape method only accepts 1 param.


Posted by Matthew Weier O'Phinney (matthew) on 2010-03-01T06:06:34.000+0000

Good point -- and looking at the code, this could be fairly easily remedied; will work on this for the next mini release.

Posted by Matthew Weier O'Phinney (matthew) on 2010-06-18T05:17:08.000+0000

Fixed in trunk and 1.10 release branch.

Have you found an issue?

See the Overview section for more details.


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

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