relax some strict values
This commit is contained in:
parent
2e8ce96234
commit
26bf8afe57
@ -675,7 +675,7 @@ class App(MiddlewareMixin, LifespanMixin):
|
||||
replaced_route.split("/"),
|
||||
route.split("/"),
|
||||
new_route.split("/"),
|
||||
strict=True,
|
||||
strict=False,
|
||||
):
|
||||
if rw in segments and r != nr:
|
||||
# If the slugs in the segments of both routes are not the same, then the route is invalid
|
||||
|
Loading…
Reference in New Issue
Block a user