Chromium Code Reviews
DescriptionDigest authentication uses a uri field to prevent replay attacks.
When authenticating to an HTTP proxy to establish a secure tunnel (via CONNECT), the uri should be the hostname of the server and the destination port, such as "www.example.com:443". When authenticating to an HTTP proxy for a non-secure content, the uri should be the path at the server, i.e. "/index.html".
If the site we are trying to connect to previously advertised "Alternate-Protocol: 443:spdy-npn/1" a request to "http://www.example.com" will be attempted on a secure port.
However, the URL passed into the digest authenticator was an unsecure one, and it decided to have a uri in the form "/index.html" rather than the correct "www.example.com:443". This causes persistent failure with the password and many password prompts.
BUG=49865
TEST=Run with --use-spdy=npn, force connection through a digest authenticating proxy, and browse a site which advertises Alternate-Protocol through http URLs.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54528
Patch Set 1 #Patch Set 2 : '' #
Total comments: 2
Patch Set 3 : '' #
Total comments: 5
Patch Set 4 : '' #
Total comments: 5
Patch Set 5 : '' #Patch Set 6 : Added a comment about replacement strings, unit test fix on Linux+OSX. #Patch Set 7 : Update unit test with spdy/2 #Patch Set 8 : Merge with trunk. #Patch Set 9 : Make unit test happy after merge. #
Messages
Total messages: 11 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||