maas-enlist regex doesn't match all valid domain names

Bug #1777924 reported by Patrick Desnoyers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Low
Unassigned
2.4
Triaged
Low
Unassigned

Bug Description

When generating api_url, the regex doesn't match our domain name (maas-lb.domain.name) because it contains a - character.

I did not check if other valid characters were affected.

maas-enlist line 238

Related branches

Changed in maas:
milestone: none → 2.5.0
importance: Undecided → Low
status: New → Triaged
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
milestone: 2.5.0 → 2.5.0alpha1
Changed in maas:
status: Fix Committed → Fix Released
Revision history for this message
Scott Hussey (sh8121) wrote :

Would nice to have this backported.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.