mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
dns/bind: relax ACL name mask
This commit is contained in:
@@ -13,6 +13,7 @@ Plugin Changelog
|
||||
* Reject built-in ACL names
|
||||
* Fix truncated checkboxes
|
||||
* Add button to delete selected items
|
||||
* Relax ACL name mask (allow underscores and hyphens)
|
||||
|
||||
1.13
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
<name type="TextField">
|
||||
<default></default>
|
||||
<Required>Y</Required>
|
||||
<mask>/^(?!any$|localhost$|localnets$|none$)[0-9a-zA-Z]{1,32}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 32 characters. Allowed characters are 0-9a-zA-Z. Built-in ACL names must not be used: any, localhost, localnets, none.</ValidationMessage>
|
||||
<mask>/^(?!any$|localhost$|localnets$|none$)[0-9a-zA-Z_\-]{1,32}$/u</mask>
|
||||
<ValidationMessage>Should be a string between 1 and 32 characters. Allowed characters are 0-9a-zA-Z_-. Built-in ACL names must not be used: any, localhost, localnets, none.</ValidationMessage>
|
||||
</name>
|
||||
<networks type="NetworkField">
|
||||
<default></default>
|
||||
|
||||
Reference in New Issue
Block a user