dns/dnscrypt-proxy: fix GUI with more than one disabled server

This commit is contained in:
Evgeny Grin
2023-06-28 11:40:34 +02:00
committed by Franco Fichtner
parent cae1df1eca
commit e9044ac811
2 changed files with 7 additions and 4 deletions
+4
View File
@@ -5,6 +5,10 @@ such as DNSCrypt v2 and DNS-over-HTTPS.
Plugin Changelog
================
1.14
* Fix display of the config with more than one disabled server in GUI (contributed by Evgeny Grin (karlson2k))
1.13
* Add necessary hooks to allow the plugin to be used as a standalone core DNS server
@@ -140,12 +140,11 @@
<default>1</default>
<Required>Y</Required>
</query_logs>
<disabled_serverlist type="TextField">
<mask>/^([a-z0-9.,\-]{1,70})$/</mask>
<disabled_serverlist type="CSVListField">
<mask>/^[A-Za-z0-9\._\-]{1,70}(,[A-Za-z0-9\._\-]{1,70})*$/</mask>
<default></default>
<Required>N</Required>
<FieldSeparator>,</FieldSeparator>
<asList>Y</asList>
<ValidationMessage>Please use valid server names.</ValidationMessage>
</disabled_serverlist>
<relaylist type="CSVListField">
<Required>N</Required>