relax some strict values

This commit is contained in:
Lendemor 2025-01-24 22:24:00 +01:00
parent 2e8ce96234
commit 26bf8afe57

View File

@ -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