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
The example for remove_prefix shows it being used to route /static. However, the implementation does not require that the prefix be a complete path segment, so URLs like /static-foo, /statically etc. will also be matched.
IMO the function should only succeed for whole path segments.
The text was updated successfully, but these errors were encountered:
The example for
remove_prefix
shows it being used to route/static
. However, the implementation does not require that the prefix be a complete path segment, so URLs like/static-foo
,/statically
etc. will also be matched.IMO the function should only succeed for whole path segments.
The text was updated successfully, but these errors were encountered: