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

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

Open
GeeH opened this issue Jun 28, 2016 · 1 comment
Open

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

GeeH opened this issue Jun 28, 2016 · 1 comment

Comments

@GeeH
Copy link
Contributor

GeeH commented Jun 28, 2016

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.


@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-escaper; a new issue has been opened at laminas/laminas-escaper#4.

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

No branches or pull requests

2 participants