Merge lp:~salgado/launchpad/fix-unicode-error-on-login into lp:launchpad/db-devel
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~salgado/launchpad/fix-unicode-error-on-login |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
54 lines (+18/-1) 2 files modified
lib/canonical/launchpad/webapp/login.py (+2/-1) lib/canonical/launchpad/webapp/tests/test_login.py (+16/-0) |
To merge this branch: | bzr merge lp:~salgado/launchpad/fix-unicode-error-on-login |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Michael Nelson (community) | code | Approve | |
Review via email: mp+20656@code.launchpad.net |
Description of the change
Fix OpenIDLogin to not OOPS when the query string has non-ascii chars.
Just utf8-encoding the value before passing it to urllib.urlencode()
seems to do the trick.
To post a comment you must log in.
I'm not sure why the diff hasn't updated yet, but I checked this locally, and it all looks good. Thanks Guilherme.