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

I18n/Validator/DateTime should use mb_strlen() instead of strlen() #6321

Closed
bacinsky opened this issue May 23, 2014 · 2 comments · Fixed by #6311
Closed

I18n/Validator/DateTime should use mb_strlen() instead of strlen() #6321

bacinsky opened this issue May 23, 2014 · 2 comments · Fixed by #6311
Assignees
Milestone

Comments

@bacinsky
Copy link
Contributor

https://github.com/zendframework/zf2/blob/develop/library/Zend/I18n/Validator/DateTime.php#L283
This is failing with utf-8 characters.

Or use less than, maybe.

@DASPRiD
Copy link
Member

DASPRiD commented May 23, 2014

We already had a PR for this, but it was closed due to inactivity of the author after changes were suggested: #5619

@moderndeveloperllc
Copy link
Contributor

@bacinsky There is a current PR in for this right now: #6311. It should be accepted reasonably soon.

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

Successfully merging a pull request may close this issue.

5 participants