fmt:text-to-html causes OOPSs for URLs ending in "&"
Bug #72998 reported by
James Henstridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
James Henstridge |
Bug Description
The following URL gives an OOPS after the last rollout:
https:/
(e.g. OOPS-326B405).
From the look of it, this happens if there is a URL in the text where the last character gets converted to an entity (e.g. & or <, but not > because it is handled specially).
The URL extraction uses a post processing step to cut trailing characters from the URL that usually aren't part of the URL (e.g. a comma). This is stripping the semicolon from the end of the entity at the end of the URL.
Previously this was just giving invalid HTML, but the new word breaking code is tripping up on it.
Changed in launchpad: | |
assignee: | nobody → jamesh |
status: | Unconfirmed → Confirmed |
To post a comment you must log in.
Top oopser.