Fix so users with apostrophes won't cause 500 errors.
Review Request #4606 — Created Sept. 20, 2013 and submitted
Information | |
---|---|
aschmidt | |
Review Board | |
master | |
2890 | |
Reviewers | |
reviewboard, students | |
Fix so users with apostrophes won't cause 500 errors.
It's possible to get a user with an apostrophe due to active directory.
This change allows the regex to recognize these users.
I created a user with an apostrophe in the name and went through the steps to reproduce the problem (going to users page, as well as trying to assign the apostrophe user to a review). 500 errors were no longer thrown after my changes.
Description | From | Last Updated |
---|---|---|
Probably don't need to escape the ', now that you're using double quotes. |
|

-
This is a review from Review Bot.
Tool: Pyflakes
Processed Files:
reviewboard/urls.py
Ignored Files:
-
-
reviewboard/urls.py (Diff revision 1) Probably don't need to escape the ', now that you're using double quotes.