Web UI allows unsanitized RR names to be created

Bug #1977806 reported by Ilteris Yagiztegin Eroglu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
maas-ui
Invalid
Undecided
Unassigned

Bug Description

In the Web UI, after creating an authoritative zone, adding a resource record with "@" at the end of the name ends successfully. But rather than "@" being removed, the name section of the record keeps the character and the RR can't be edited nor removed.

>>Steps to reproduce:

0. Always use the Web UI.

1. Create an authoritative zone, eg. onyx.example.com

2. Create an AAAA record with the name "bug.@" and data 2606:4700:4700::1111

3. Try editing or removing the record.

MAAS version: 2.8.7 (8611-g.f2514168f-0ubuntu1~18.04.1)

Bill Wear (billwear)
tags: added: ui
Revision history for this message
Caleb Ellis (caleb-ellis) wrote :

This was a backend validation bug that was fixed in commit hash 0b640a1be949ee646d2c03800c1a2d4a264ca016
https://git.launchpad.net/maas/commit/?id=0b640a1be949ee646d2c03800c1a2d4a264ca016

The fix will be made available in the 3.2 release

tags: removed: ui
Changed in maas-ui:
status: New → Invalid
Alberto Donato (ack)
Changed in maas:
milestone: none → 3.2.0
status: New → Fix Committed
Changed in maas:
milestone: 3.2.0 → 3.2.0-rc2
status: Fix Committed → Fix Released
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.