Skip to content

Commit

Permalink
net/haproxy: allow hyphens, closes opnsense#1346
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed May 21, 2019
1 parent b5aa5b3 commit 8ece4c8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
</enabled>
<name type="TextField">
<Required>Y</Required>
<mask>/^([0-9a-zA-Z._]){1,255}$/u</mask>
<mask>/^([0-9a-zA-Z._\-]){1,255}$/u</mask>
<ValidationMessage>Should be a string between 1 and 255 characters.</ValidationMessage>
</name>
<description type="TextField">
Expand Down Expand Up @@ -697,7 +697,7 @@
</enabled>
<name type="TextField">
<Required>Y</Required>
<mask>/^([0-9a-zA-Z._]){1,255}$/u</mask>
<mask>/^([0-9a-zA-Z._\-]){1,255}$/u</mask>
<ValidationMessage>Should be a string between 1 and 255 characters.</ValidationMessage>
</name>
<description type="TextField">
Expand Down Expand Up @@ -1013,7 +1013,7 @@
<Required>Y</Required>
</enabled>
<name type="TextField">
<mask>/^([0-9a-zA-Z._]){1,255}$/u</mask>
<mask>/^([0-9a-zA-Z._\-]){1,255}$/u</mask>
<ValidationMessage>Should be a string between 1 and 255 characters.</ValidationMessage>
<Required>Y</Required>
</name>
Expand Down

0 comments on commit 8ece4c8

Please sign in to comment.