UnicodeDecodeError while POSTing forms with non-ascii characters.
Bug #44919 reported by
Diogo Matsubara
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I was unable to manually reproduce this bug, however wrote a pagetest that crashes exactly like OOPS-134C24.
https:/
Things to note:
HTTP_ACCEPT_
There's no HTTP_ACCEPT_CHARSET header.
field.displayname \xb3\xc2\
Recently: OOPS-980H1350, OOPS-980F724, OOPS-980F729, OOPS-980G753, OOPS-980G2610, OOPS-980B840, OOPS-981A1843, OOPS-981D131, OOPS-981F112, OOPS-1223B591, OOPS-1223C1763, OOPS-1223F7576
Changed in launchpad: | |
assignee: | nobody → launchpad-infrastructure |
Changed in launchpad: | |
assignee: | launchpad-infrastructure → nobody |
Changed in launchpad: | |
assignee: | nobody → bjornt |
Changed in launchpad: | |
status: | Fix Committed → Confirmed |
description: | updated |
description: | updated |
description: | updated |
Changed in launchpad-foundations: | |
assignee: | Björn Tillenius (bjornt) → nobody |
Changed in launchpad: | |
importance: | High → Critical |
To post a comment you must log in.
'input == self._missing' is implicitly trying to convert the displayname to Unicode to do the comparison, as self._missing is Unicode. Either the invalid UTF-8 needs to be caught earlier, or the Z3 widget machinery needs to be fixed to cope with this case. I suspect the latter but haven't looked very closely.