Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Changing encode from View Helper is not passed to EscapeHtmlAttrHelper#7002

Closed
stephandesouza wants to merge 2 commits into
zendframework:masterfrom
stephandesouza:patch-2
Closed

Changing encode from View Helper is not passed to EscapeHtmlAttrHelper#7002
stephandesouza wants to merge 2 commits into
zendframework:masterfrom
stephandesouza:patch-2

Conversation

@stephandesouza
Copy link
Copy Markdown
Contributor

Previously #6707

Ideal where using ZF2 Components on non UTF-8 encoded projects (like onto ISO-8859-1 files), because this throws a Fatal Error at Zend/Escaper/Escaper.php on line 325.

Sample

Will add a Test if needed

Stack Trace

Nr Function Location
2 Zend\Form\View\Helper\FormSelect->render( ) ../zf2-select.php:12
3 Zend\Form\View\Helper\AbstractHelper->createAttributesString( ) ../FormSelect.php:134
4 Zend\View\Helper\Escaper\AbstractHelper->__invoke( ) ../AbstractHelper.php:232
5 Zend\View\Helper\EscapeHtmlAttr->escape( ) ../AbstractHelper.php:49
6 Zend\Escaper\Escaper->escapeHtmlAttr( ) ../EscapeHtmlAttr.php:26
7 Zend\Escaper\Escaper->toUtf8( ) ../Escaper.php:16

@Ocramius Ocramius added this to the 2.3.4 milestone Dec 10, 2014
@Ocramius Ocramius self-assigned this Dec 10, 2014
Ocramius added a commit that referenced this pull request Dec 11, 2014
@Ocramius Ocramius closed this in 0bb3680 Dec 11, 2014
@Ocramius
Copy link
Copy Markdown
Member

@stephandesouza merged, thanks!

master: 0bb3680
develop: 9411a27

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants