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

Solves the url redirect rule problem #51

merged 1 commit into from May 21, 2017


Copy link

I brought this up a WHILE ago in an issue - #44
Finally remembered to fix it.

I brought this up a WHILE ago in an issue - dcrosta#44
Finally remembered to fix it.
Copy link
Contributor Author

phew! It passed!

@@ -9,6 +9,10 @@
WIKIPART = re.compile(r'([A-Z][a-z0-9_]+)')
WIKIWORD = re.compile(r'([A-Z][a-z0-9_]+(?:[A-Z][a-z0-9_]+)+)')

@app.route('/', methods=['GET'])
def redirect():
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will shadow "redirect" imported from flask module... should probably rename to homepage_redirect or something like that (that's what it was called before).

@dcrosta dcrosta merged commit cb7695a into dcrosta:master May 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants