Merge lp:~salgado/launchpad/bug-61171 into lp:launchpad
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~salgado/launchpad/bug-61171 |
Merge into: | lp:launchpad |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~salgado/launchpad/bug-61171 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | Approve | ||
Leonard Richardson (community) | Approve | ||
Review via email:
|
To post a comment you must log in.
= Summary =
Non-ASCII characters in an ASCII-encoded (and escaped) query string /launchpad. net/bugs/ 61171
cause our +login page to OOPS: https:/
== Proposed fix ==
Fix the bug by replacing the non-ASCII characters when decoding them
into unicode. That seems to be the only thing we can do.
I was hoping to test it at the view level, exercising just the method we
care about but that didn't work and I don't want to spend much time on
this, so I wrote a pagetest using testbrowser.
== Tests ==
./bin/test -vvt test_login
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: /launchpad/ webapp/ login.py /launchpad/ webapp/ tests/test_ login.py
lib/canonical
lib/canonical