mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-08-26 04:47:48 +08:00
模块优化
This commit is contained in:
@@ -49,7 +49,8 @@ class CheckCSP(Module):
|
||||
logger.log('DEBUG', f'Failed to get header of {self.domain} domain')
|
||||
return
|
||||
if not csp:
|
||||
logger.log('DEBUG', f'There is no Content-Security-Policy in the header of {self.domain}')
|
||||
logger.log('DEBUG', f'There is no Content-Security-Policy in the header '
|
||||
f'of {self.domain}')
|
||||
return
|
||||
self.subdomains = self.match_subdomains(csp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user