OOPs rendering page with non-ascii URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Aaron Bentley |
Bug Description
Bug tasks permit spurious extra characters in their URLs, e.g. https:/
Normally our URLs do no have non-ascii characters, so this reveals some encoding issues handling PATH_INFO: OOPS-2040I14
...
Module canonical.
return LaunchpadBrowse
Module canonical.
BasicLaunch
Module canonical.
body_instream, environ, response)
Module zope.publisher.
super(
Module zope.publisher.
environ = sane_environmen
Module zope.publisher.
dict[
Module encodings.utf_8, line 16, in decode
return codecs.
UnicodeEncodeError: 'ascii' codec can't encode character u'\\xa0' in position 19: ordinal not in range(128)
Related branches
- Gavin Panella (community): Approve
-
Diff: 158 lines (+70/-5)2 files modifiedlib/canonical/launchpad/webapp/publication.py (+20/-5)
lib/canonical/launchpad/webapp/tests/test_publication.py (+50/-0)
- Deryck Hodge (community): Approve (code)
-
Diff: 60 lines (+19/-2)2 files modifiedlib/canonical/launchpad/webapp/servers.py (+5/-2)
lib/canonical/launchpad/webapp/tests/test_servers.py (+14/-0)
Changed in launchpad: | |
assignee: | nobody → Aaron Bentley (abentley) |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r13664 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13664>.