You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.
I just ran into a problem where my app won't work (related Stack Overflow question) because of Unicode characters in my URLs. None of the Zend router modules seem to handle this properly. Notably the regular expressions that get created and run when using constraints are not Unicode safe. Apprantly this isn't a very complicated fix, this SO answer suggests just one replacement function for the Regex route with only adding the Unicode flag to the preg_match() calls doing the job. The Segment router appears to be a bit more complicated to fix, but also doble.
While the code suggested in those posts is not current with the latest ZF2 release, it appears like this is something that would be relatively easy to fix and make compatible for everybody out of the box.
The text was updated successfully, but these errors were encountered:
I just ran into a problem where my app won't work (related Stack Overflow question) because of Unicode characters in my URLs. None of the Zend router modules seem to handle this properly. Notably the regular expressions that get created and run when using constraints are not Unicode safe. Apprantly this isn't a very complicated fix, this SO answer suggests just one replacement function for the Regex route with only adding the Unicode flag to the
preg_match()
calls doing the job. The Segment router appears to be a bit more complicated to fix, but also doble.While the code suggested in those posts is not current with the latest ZF2 release, it appears like this is something that would be relatively easy to fix and make compatible for everybody out of the box.
The text was updated successfully, but these errors were encountered: