Skip to content

Commit 743e0b3

Browse files
authored
Merge pull request #547 from owncloud/jnweiger-longer-tld
allow longer TLDs
2 parents 581c193 + b2408fa commit 743e0b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/settings.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
</p>
2828
<p class="av_host">
2929
<label for="av_host"><?php p($l->t('Host'));?></label>
30-
<input pattern="^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\.)+[A-Za-z]{2,6}$|^((?!-)[A-Za-z0-9-]{1,63}(?<!-))$" type="text" id="av_host" name="avHost" value="<?php p($_['avHost']); ?>" title="<?php p($l->t('Hostname or IP address of Antivirus Host'));?>">
30+
<input pattern="^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$|^((?!-)[A-Za-z0-9-]{1,63}(?<!-)\.)+[A-Za-z]{2,63}$|^((?!-)[A-Za-z0-9-]{1,63}(?<!-))$" type="text" id="av_host" name="avHost" value="<?php p($_['avHost']); ?>" title="<?php p($l->t('Hostname or IP address of Antivirus Host'));?>">
3131
</p>
3232
<p class="av_port">
3333
<label for="av_port"><?php p($l->t('Port'));?></label>

0 commit comments

Comments
 (0)