DescriptionNormalize hostnames before searching for HSTS/HPKP preloads
The HSTS/HPKP preload set is pre-normalized at construction time.
Since the queries come from the GURL, not from the DNS layer,
we need to normalize the hostname before scanning for preloads.
This used to be handled by CanonicalizeHost(), which used the
same mechanism as the resolver, but the storage of the preloads
has changed to be more efficient, and thus no longer uses the
resolver-normalized form.
BUG=461481
R=davidben@chromium.org
Committed: https://crrev.com/c2dd599bdd35753da237172dc37a447e9d65c463
Cr-Commit-Position: refs/heads/master@{#330834}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address nits (but badly) #Patch Set 3 : ODR cleanup #
Messages
Total messages: 8 (1 generated)
|