use pretty_host in domain filtering (#2382)

This commit is contained in:
Aiden Leong 2023-09-23 11:33:01 +08:00 committed by GitHub
parent 5ee4812ac5
commit 0f0e7aca68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class MlgmXyysd_Animation_Company_Proxy:
]
def request(self, flow: http.HTTPFlow) -> None:
if flow.request.host in self.LIST_DOMAINS:
if flow.request.pretty_host in self.LIST_DOMAINS:
if USE_SSL:
flow.request.scheme = "https"
else: