Merge lp:~rvb/maas/bug-1062607 into lp:~maas-committers/maas/trunk
Proposed by
Raphaël Badin
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Raphaël Badin | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1225 | ||||
Proposed branch: | lp:~rvb/maas/bug-1062607 | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
77 lines (+47/-4) 2 files modified
src/maasserver/tests/test_views_settings_clusters.py (+36/-4) src/maasserver/urls.py (+11/-0) |
||||
To merge this branch: | bzr merge lp:~rvb/maas/bug-1062607 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jeroen T. Vermeulen (community) | Approve | ||
Review via email: mp+128543@code.launchpad.net |
Commit message
Cope with doubles slashes being removed by apache when editing an interface.
Description of the change
This branch fixes the url machinery so that it will cope with the fact that apache transforms multiple slashes in a url into a single one. That pattern appears in the url that maas generates when one edits an interface with an empty name.
= Notes =
Maybe one can find a better way to express the fact that the new url matchers should match an empty interface "(?P<interface>
Note that I've tested in a production instance (behind apache), that this actually fixes bug 1062607.
To post a comment you must log in.
Include a prefix, like "@" or "if=", then the regex can be "if=(?P< interface> [\w\-]{ 0})" ?