From 1674f6929e14d861561ce93b3c2fcc1616926511 Mon Sep 17 00:00:00 2001 From: mercury Date: Fri, 16 Aug 2024 22:24:23 +0400 Subject: [PATCH] fix ruleset list key --- app/bot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/bot.php b/app/bot.php index 3fb2055..f2e52e5 100644 --- a/app/bot.php +++ b/app/bot.php @@ -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);