Comment 6 for bug 1481261

Revision history for this message
Gavin Panella (allenap) wrote :

These MAC addresses should be validated by MACAddressFormField (see
src/maasserver/clusterrpc/power_parameters.py). This field uses the
following regular expression:

  ^\s*([0-9a-fA-F]{2}[:-]){5}[0-9a-fA-F]{2}\s*$

The example given by Livia should not be allowed by this. It seems that
the power parameter forms are being bypassed. This bug deserves more
immediate investigation as it may be a sign of a bigger problem.

Incidentally, Mike's other examples would also not be allowed by the
expression above.