Merge branch 'master' into singbox

This commit is contained in:
mercury
2024-08-16 22:28:46 +04:00
+1 -1
View File
@@ -2356,7 +2356,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);