Bug 15535 - (Windows) Basic authentication doesn't work in URL when proxy is configured
Summary: (Windows) Basic authentication doesn't work in URL when proxy is configured
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://joeuser:a.b.C.D@www.rahul.net/...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-10-16 15:32 PDT by Dan Fabulich
Modified: 2007-12-10 06:35 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Fabulich 2007-10-16 15:32:30 PDT
On Windows, go to an URL that uses HTTP basic authentication. rahul.net has an example page at http://joeuser:a.b.C.D@www.rahul.net/joeuser/

(Beware of bug 15441; you'll need to use a version that includes this fix, e.g. Safari Seed 310A15.)

"Reset Safari", Quit Safari.exe, configure a proxy server, then browse to the same URL.  You'll get an error message that the URL is invalid.

If you look at the HTTP headers over the wire, you'll see that when a proxy is used, Safari doesn't pass an "Authorization" HTTP header, but simply requests "GET http://joeuser:a.b.C.D@www.rahul.net/joeuser/", which is not valid.

I tested this with the WebKit nightly r26595.
Comment 1 Mark Rowe (bdash) 2007-10-16 20:39:58 PDT
<rdar://problem/5544557>