mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
统一调整子域匹配函数
This commit is contained in:
@@ -52,7 +52,7 @@ class CheckCSP(Module):
|
||||
if not csp:
|
||||
logger.log('DEBUG', f'{self.domain}域的响应头不存在内容安全策略字段')
|
||||
return
|
||||
self.subdomains = utils.match_subdomain(self.domain, csp)
|
||||
self.subdomains = self.match_subdomains(self.domain, csp)
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user