mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 06:48:38 +09:00
Restore clearly-delimited format for the HSTS preload list
This commit is contained in:
parent
e8d7388622
commit
70b28bf2ee
3 changed files with 23 additions and 65 deletions
|
|
@ -935,7 +935,7 @@ int STSPreloadCompare(const void *key, const void *entry)
|
|||
{
|
||||
const char *keyStr = (const char *)key;
|
||||
const nsSTSPreload *preloadEntry = (const nsSTSPreload *)entry;
|
||||
return strcmp(keyStr, &kSTSHostTable[preloadEntry->mHostIndex]);
|
||||
return strcmp(keyStr, preloadEntry->mHost);
|
||||
}
|
||||
|
||||
// Returns the preload list entry for the given host, if it exists.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue