Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Escaper should use [:alnum:] instead [a-z0-9] #4

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Open

Escaper should use [:alnum:] instead [a-z0-9] #4

weierophinney opened this issue Dec 31, 2019 · 0 comments

Comments

@weierophinney
Copy link
Member

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/7550
User: @phpManiac77
Created On: 2015-05-25T13:32:36Z
Updated At: 2015-11-06T21:53:56Z
Body
Method Zend\Escaper\Escaper::escapeHtmlAttr() should use [:alnum:] in the regular expression. So it would also work with chinese characters correctly.


Comment

User: @Ocramius
Created On: 2015-05-25T13:41:43Z
Updated At: 2015-05-25T13:41:43Z
Body
Any non-ascii characters are supposed to be encoded anyway.

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/

On 25 May 2015 at 14:32, phpManiac77 [email protected] wrote:

Method Zend\Escaper\Escaper::escapeHtmlAttr() should use [:alnum:] in the
regular expression. So it would also work with chinese characters correctly


Reply to this email directly or view it on GitHub
zendframework/zendframework#7550.



Originally posted by @GeeH at zendframework/zend-escaper#18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant