+login page OOPSes if query string has accented chars encoded as ASCII
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Invalid
|
Undecided
|
Unassigned | ||
Launchpad itself |
Fix Released
|
Low
|
Guilherme Salgado |
Bug Description
New instance on edge 20100723 : https:/
+login page OOPSes if query string has accented chars encoded as ASCII
This happens when apport generates URLs for users to file new bugs, as the URLs are ASCII-encoded and the title it uses for the bug may contain non-ASCII characters. The code responsible for this seems to be in the get_comment_url() method of apport.
It also happens in other cases (as we can see on the OOPSes on shipit.ubuntu.com), but I can't find a way to reproduce them. (All the ones on shipit.ubuntu.com seem to come from the http://
Launchpad must be changed to not OOPS in these cases, but I don't think there's anything for us to do other than replacing these non-ASCII characters.
As seen on OOPS-218A455:
UnicodeDecode
More: OOPS-1012D3679, OOPS-1012C3634, OOPS-1020F2542, OOPS-1020B2905, OOPS-1020C2146, OOPS-228B96, OOPS-228A85, OOPS-228B99, OOPS-228B100, OOPS-228A88, OOPS-239B555, OOPS-253B899, OOPS-260A228, OOPS-253C843, OOPS-253D917, OOPS-260D211, OOPS-260A228, OOPS-579C1318, OOPS-1220A1603
Steps to reproduce:
1. Start launchpad.dev
2. Log out of launchpad.dev
3. Visit the following link in the address bar (note the % characters):
https:/
(note that the above is the field.title from one of the OOPS requests)
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
summary: |
- UnicodeDecodeError in preserve_query() method. + +login page OOPSes if query string has accented chars encoded as ASCII |
description: | updated |
visibility: | private → public |
description: | updated |
description: | updated |
Changed in launchpad-foundations: | |
status: | Triaged → In Progress |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
It looks like this is happening when logging in, while attempting to file a bug that has unicode characters in the title.