From dd8cbd416b92bf8ab95c0f24cdd2c176024a47c8 Mon Sep 17 00:00:00 2001 From: gently <1243610+gentlyxu@users.noreply.github.com> Date: Mon, 20 Jan 2020 15:40:44 +0800 Subject: [PATCH] delete comment --- tools/easylist-extend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/easylist-extend.php b/tools/easylist-extend.php index e08cf79b..d42e5daa 100644 --- a/tools/easylist-extend.php +++ b/tools/easylist-extend.php @@ -207,7 +207,7 @@ foreach ($ARR_WHITE_RULE_LIST as $row){ $match_rule = "/${match_rule}/"; } if(preg_match($match_rule, $matches[1])) { - $domain = addressMaker::extract_main_domain($matches[1]); //@TODO 注意!这里假设白名单域名无通配符 + $domain = addressMaker::extract_main_domain($matches[1]); if(array_key_exists($domain, $black_domain_list) || (is_array($black_domain_list[$domain]) && in_array($matches[1], $black_domain_list[$domain])) ){