valid_name, valid_branch_name constraints allow trailing newline
Bug #137237 reported by
Michael Hudson-Doyle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Michael Hudson-Doyle |
Bug Description
The pattern used in valid_branch_name (r"^[a-
>>> re.match(
<_sre.SRE_Match object at 0xb7d8a790>
This breaks the generation of the rewritemap file, which breaks codebrowse.
Also, it's clearly not what was intended and just plain horrible.
visibility: | private → public |
To post a comment you must log in.
Lets please fix this ASAP.