[Webkit-unassigned] [Bug 37781] [XHR] Cross-Origin synchronous request with credential raises NETWORK_ERR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 19 22:26:47 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37781


Alexey Proskuryakov <ap at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org




--- Comment #1 from Alexey Proskuryakov <ap at webkit.org>  2010-04-19 22:26:47 PST ---
Do you have a test case? On Mac OS X, credentials are stripped from URLs before
a connection is created:

    // Take user/pass out of the URL.
    // Credentials for ftp can only be passed in URL, the
connection:didReceiveAuthenticationChallenge: delegate call won't be made.
    if ((delegate->m_user || delegate->m_pass) && url.protocolInHTTPFamily()) {
        ResourceRequest requestWithoutCredentials = request;
        requestWithoutCredentials.removeCredentials();
        connection = [[NSURLConnection alloc]
initWithRequest:requestWithoutCredentials.nsURLRequest() delegate:delegate
startImmediately:NO];

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list