-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hello! I work on translatable route segment with 3 locales ['en' => 'en_US', 'lv' => 'lv_LV', 'ru' => 'ru_RU']. However, I need to encode lv & ru translations with rawurlencode() in php array. That is because /Zend/Router/Http/Segment.php method, which performs match against the HTTP request, do not match given url path with generated regex within translation keys loop.
So my proposal is: Encode each translated string before generating regex.
Originally posted by @freeentr at zendframework/zend-router#25
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
