Merge lp:~thumper/launchpad/fix-unicode-error-in-urlparse into lp:launchpad
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12795 |
Proposed branch: | lp:~thumper/launchpad/fix-unicode-error-in-urlparse |
Merge into: | lp:launchpad |
Diff against target: |
430 lines (+125/-136) 6 files modified
lib/canonical/launchpad/interfaces/validation.py (+0/-105) lib/lp/app/validators/tests/test_validators.py (+10/-3) lib/lp/app/validators/url.py (+112/-25) lib/lp/blueprints/interfaces/specification.py (+1/-1) lib/lp/registry/browser/announcement.py (+1/-1) lib/lp/registry/interfaces/productseries.py (+1/-1) |
To merge this branch: | bzr merge lp:~thumper/launchpad/fix-unicode-error-in-urlparse |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+57103@code.launchpad.net |
Commit message
[r=lifeless][bug=35077,325268] Non ascii urls are not considered valid.
Description of the change
I moved the validate_url and valid_webref functions from
canonical.
lp.app.
valid_branch_url wasn't being used anywhere, so I deleted it.
A few lint cleanup removals in that file too.
To keep with the existing validator tests, I put them in the
docstrings too.
To post a comment you must log in.