fix ruleset list key

This commit is contained in:
mercury
2024-08-16 22:24:23 +04:00
parent 5791cabfb5
commit 1674f6929e
+1 -1
View File
@@ -2250,7 +2250,7 @@ DNS-over-HTTPS with IP:
if (!empty($domains)) {
$conf = $this->getPacConf();
foreach ($domains as $k => $v) {
$conf[$type][idn_to_ascii(trim($v))] = true;
$conf[$type][$type == 'rulessetlist' ? trim($v) : idn_to_ascii(trim($v))] = true;
}
ksort($conf[$type]);
$this->setPacConf($conf);