New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use subapps with overlapped prefixes #3701
Comments
This is by design: URL dispatcher handles all routes in the order of adding. Nothing to do here, the issue is not a bug |
@asvetlov what about slash ? if We add
Why queries like |
Ah, I see. That's interesting. |
Hi, Eugene. |
Fixed by #3708 |
Long story short
If I add to main app one subapp with prefix "/qwe/" and then add another subapp with prefix "/qwerty/" then routing to second subapp does not work. But if I firstly add subapp with prefix "/qwerty/" and then subapp with prefix "/qwe/" then everything works fine. See example.
Steps to reproduce
Your environment
aiohttp 3.5.4
The text was updated successfully, but these errors were encountered: