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

fix for https://github.com/mitsuhiko/flask/issues/494 #497

Merged
merged 2 commits into from
Jun 17, 2012
Merged

fix for https://github.com/mitsuhiko/flask/issues/494 #497

merged 2 commits into from
Jun 17, 2012

Conversation

ekoka
Copy link
Contributor

@ekoka ekoka commented Apr 22, 2012

Flask.inject_url_defaults() incorrectly splits endpoint's to get blueprint's name.

replaced call to endpoint.split() by endpoint.rsplit() on line 1471 of flask/app.py

@rduplain
Copy link
Contributor

Thanks for the pull request to fix #494. Could you add a test case to catch the error, which passes with this fix?

@ekoka
Copy link
Contributor Author

ekoka commented Apr 23, 2012

Sure, I have one. Do you have a specific convention? i.e. where should I put it? what should I name id?

@ekoka
Copy link
Contributor Author

ekoka commented Apr 24, 2012

not exactly sure if this is where the test should go, but there it is.

mitsuhiko added a commit that referenced this pull request Jun 17, 2012
@mitsuhiko mitsuhiko merged commit a9e753f into pallets:master Jun 17, 2012
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants