Closed easing closed 7 months ago
The router converts patterns with optional parameters to regular expressions that are not strict enough.
Example: /profile/:id?/:tab? matches /profile-random-bug, /profile// and /profile/// paths.
/profile/:id?/:tab?
/profile-random-bug
/profile//
/profile///
This PR fixes it.
11 bytes added.
Thanks a lot!
Released in 0.14.2
The router converts patterns with optional parameters to regular expressions that are not strict enough.
Example:
/profile/:id?/:tab?
matches/profile-random-bug
,/profile//
and/profile///
paths.This PR fixes it.
11 bytes added.