Changeset 129084 in webkit


Ignore:
Timestamp:
Sep 19, 2012 7:05:05 PM (12 years ago)
Author:
jason.liu@torchmobile.com.cn
Message:

[BlackBerry] Get infinite amount of requests after attempting re-authentication basic.
https://bugs.webkit.org/show_bug.cgi?id=96994

Reviewed by Rob Buis.

We should remove the wrong credentials before calling sendRequestWithCredentials again.
#PR 200226
Reviewed internally by Jonathan Dong.

No new tests. It is covered by ManualTests/blackberry/http-auth-challenge.html.

  • platform/network/blackberry/NetworkJob.cpp:

(WebCore::NetworkJob::notifyAuthReceived):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r129082 r129084  
     12012-09-19  Jason Liu  <jason.liu@torchmobile.com.cn>
     2
     3        [BlackBerry] Get infinite amount of requests after attempting re-authentication basic.
     4        https://bugs.webkit.org/show_bug.cgi?id=96994
     5
     6        Reviewed by Rob Buis.
     7
     8        We should remove the wrong credentials before calling sendRequestWithCredentials again.
     9        #PR 200226
     10        Reviewed internally by Jonathan Dong.
     11
     12        No new tests. It is covered by ManualTests/blackberry/http-auth-challenge.html.
     13
     14
     15        * platform/network/blackberry/NetworkJob.cpp:
     16        (WebCore::NetworkJob::notifyAuthReceived):
     17
    1182012-09-19  Adam Barth  <abarth@webkit.org>
    219
  • trunk/Source/WebCore/platform/network/blackberry/NetworkJob.cpp

    r127884 r129084  
    295295        storeCredentials();
    296296        return;
    297     } else if (serverType != ProtectionSpaceProxyHTTP)
    298         // If a wifi proxy auth failed, there is no point of trying anymore because the credentials are wrong.
     297    } else {
     298        purgeCredentials();
    299299        m_newJobWithCredentialsStarted = sendRequestWithCredentials(serverType, scheme, realm, requireCredentials);
     300    }
    300301}
    301302
Note: See TracChangeset for help on using the changeset viewer.