mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Fix check for HSTS when service is disabled.
This commit is contained in:
parent
ecab329490
commit
b85fb498d9
1 changed files with 1 additions and 1 deletions
|
|
@ -998,7 +998,7 @@ nsSiteSecurityService::IsSecureHost(uint32_t aType, const char* aHost,
|
|||
}
|
||||
|
||||
// Exit early if checking HSTS and STS not enabled
|
||||
if (!mUseStsService && aType != nsISiteSecurityService::HEADER_HSTS) {
|
||||
if (!mUseStsService && aType == nsISiteSecurityService::HEADER_HSTS) {
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue