mirror of https://github.com/aredn/aredn.git
Fix pattern for dns subdomain aliases (#1278)
This commit is contained in:
parent
c06642949a
commit
6b72623b98
|
@ -274,7 +274,7 @@ if (f) {
|
|||
for (let i = 0; i < length(aliases.map); i++) {
|
||||
%}
|
||||
<div class="cols alias">
|
||||
<input type="text" name="hostname" value="{{aliases.map[i].hostname}}" required pattern="[a-zA-Z][a-zA-Z0-9_\-]*">
|
||||
<input type="text" name="hostname" value="{{aliases.map[i].hostname}}" required pattern="(\*\.)?[a-zA-Z][a-zA-Z0-9_\-]*">
|
||||
<div>
|
||||
<select name="address">
|
||||
{%
|
||||
|
|
Loading…
Reference in New Issue