An asterisk is allowed

This commit is contained in:
Mark Schouten 2014-06-30 15:00:19 +02:00
parent fcfb23ea63
commit 33faa1d7a2

View file

@ -43,7 +43,7 @@ function _do_curl($method, $opts = null, $type = 'post') {
} }
function _valid_label($name) { function _valid_label($name) {
return ( bool ) preg_match( "/^([-.a-z0-9_\/]+)?$/i" , $name ); return ( bool ) preg_match( "/^([-.a-z0-9_\/\*]+)?$/i" , $name );
} }
function _create_record($name, $records, $input, $zoneurl) { function _create_record($name, $records, $input, $zoneurl) {