Skip to content
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

Incorrect rule matched given two rules, one with a variable and suffix, another with two variables #727

Closed
abramclark opened this issue Apr 23, 2015 · 2 comments
Milestone

Comments

@abramclark
Copy link

There are two rules, the first one matching "/<owner_name>:Stuff" and the second matching "/<owner_name>:<label_name>". A request for "/fooman:Stuff" is matched by the second route, instead of the first as expected.

A workaround as suggested by ronny on #pocoo is to change the first route to match "/<owner_name>:<any(Stuff):foo>"

@skyline75489
Copy link
Contributor

Looks like a duplicate of #185

@davidism
Copy link
Member

davidism commented Jun 5, 2017

Also reported at pallets/flask#1265.

@davidism davidism added this to the 0.14 milestone Jan 3, 2018
@davidism davidism closed this as completed Jan 3, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants