Please sign in to comment.
_Trailing_ and $this->keys also do not need to be urldecoded. Both _t…
…railing_ and $this->keys gets set in _writeRoute, which also makes the regex that used to create the array $route. Any keys in $route that match [_trailing_] or any values in $this->keys are put there through the exection of preg_match. The URL is decoded before being passed to preg_match, which means the values inside of [_trailing_]etc. have already been decoded.
- Loading branch information...