Adding a custom MAAS sstreams image source without trailing / fails
Bug #2036759 reported by
Jeff Hillman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Committed
|
High
|
Jacopo Rota |
Bug Description
Focal
MAAS 3.2.9
When editing the source to download MAAS images, and putting an the proper URL (https:/
Specifically, it isn't realizing that there is no trailing slace and instead mangles the URL to be https:/
Expected behavior would be for there to be some kind of handlnig to see if the trailing / is present and if not, add it.
Related branches
~r00ta/maas:lp-2036759-check-trailingslash-bootsource
Merged
into
maas:master
- MAAS Lander: Approve
- Jack Lloyd-Walters: Approve
-
Diff: 138 lines (+50/-16)4 files modifiedsrc/maasserver/testing/factory.py (+1/-1)
src/maasserver/websockets/handlers/bootresource.py (+2/-0)
src/maasserver/websockets/handlers/tests/test_bootresource.py (+32/-1)
src/maastesting/factory.py (+15/-14)
Changed in maas: | |
assignee: | nobody → Jacopo Rota (r00ta) |
importance: | Undecided → High |
status: | New → Triaged |
milestone: | none → 3.5.0 |
Changed in maas: | |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.