Strip leading and trailing whitespace from all single-line fields
Bug #44197 reported by
David Allouche
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
The specific issue I encountered is that we allow trailing whitespace in URL fields. Though it's technically legit (since we accept non-urlescaped urls), trailing whitespace in a URL is almost always a mistake.
The url widget should strip leading and trailing whitespace.
More generally (I asked mpt about it too), there is no use case for accepting leading or trailing whitespace in any single line field, and there is a significant potential for error.
All single line text widgets should strip leading and trailing whitespace.
Changed in launchpad: | |
assignee: | matsubara → nobody |
To post a comment you must log in.
Related to bug 41325 (people displaynames) and bug 34105 (bugwatches). These are particular cases of this bug.