Closed Bug 679757 Opened 10 years ago Closed 10 years ago
Sts Host() should use ns IURI .clone() and change the clone's scheme
Right now nsStrictTransportSecurityService::IsStsHost builds a new URI in a hacky way by appending the string "https://" to the host of the current URI. It should instead .Clone() the URI and tweak the scheme so that non-DNS-based URIs (such as IPV4 and IPV6) don't get turned into DNS-hostnames in the process.
I don't know what I was thinking when I filed this bug... there's only a host string available, not a URI to clone. Bleah.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.