-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
Slash in route affects sorting/matching order #1265
Comments
Duplicate of pallets/werkzeug#185 |
Actually this is a slightly different case, so I'll reopen. |
I think this is a Werkzeug issue, specifically with https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/routing.py. You should probably submit it to https://github.com/mitsuhiko/werkzeug/issues In the meantime, reordering the routes should work. |
This is a Werkzeug issue, already reported at pallets/werkzeug#727. |
Hi !
I'm in trouble since a moment using Flask with that point.
I'm registring 2 url rules in a blueprint :
I've read somewhere that the rule with the less number of parameters is taken in routing.
But, when I'm typing /networks.json, I'm in the
service_call()
function, not innetworks()
When I print the
url_map
:After some tests, it seems that following code is working as expected :
So, the dot isn't considered as a "separator" ?
Is there a way to fix that ?
Thanks in advance for your help !
The text was updated successfully, but these errors were encountered: