Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Fix not_reserved negative lookahead regex. #59

Merged
merged 1 commit into from Mar 24, 2015

Conversation

ralphbean
Copy link
Contributor

Today we hit the embarrassing situation of a user named 'jcapik' being unable
to visit their profile. I figured out with some curl tests that it was because
'api' was a substring of 'jcapik'. @pypingou found this werkzeug converter
that we use which seems to be to blame.

In local tests, I was unable to visit a 'jcapik' profile page locally until I
made this change, but I can visit it now after the change. The api, static,
and confirm endpoints are also still accessible.

@pypingou
Copy link
Member

👍 for me

ralphbean added a commit that referenced this pull request Mar 24, 2015
…f-jcapik

Fix not_reserved negative lookahead regex.
@ralphbean ralphbean merged commit af38ff1 into develop Mar 24, 2015
@ralphbean ralphbean deleted the feature/api-is-a-substring-of-jcapik branch March 24, 2015 18:15
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.

None yet

2 participants