forked from extern/egroupware
* Admin: fix IP address validation in site configuration
This commit is contained in:
parent
c25b34e43a
commit
0f3c74c77d
@ -211,7 +211,7 @@
|
|||||||
<row>
|
<row>
|
||||||
<description value="Comma-separated IP addresses white-listed from above blocking (:optional number of attempts)"/>
|
<description value="Comma-separated IP addresses white-listed from above blocking (:optional number of attempts)"/>
|
||||||
<textbox id="newsettings[unsuccessful_ip_whitelist]" size="64" blur="X.X.X.X[:N], ..."
|
<textbox id="newsettings[unsuccessful_ip_whitelist]" size="64" blur="X.X.X.X[:N], ..."
|
||||||
validator="/^(\\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d+)?,? *)*$/"/>
|
validator="/^(((\\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))(:\d+)?)(, ?((\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))\.(\d|[1-9]\d|1\d\d|2([0-4]\d|5[0-5]))(:\d+)?))*)?$/"/>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<description value="How many minutes should an account or IP be blocked (default 1) ?" label="%s:"/>
|
<description value="How many minutes should an account or IP be blocked (default 1) ?" label="%s:"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user