Changeset 58264 in webkit
- Timestamp:
- Apr 26, 2010 2:43:52 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r58262 r58264 1 2010-04-26 Yongjun Zhang <yongjun_zhang@apple.com> 2 3 Reviewed by Alexey Proskuryakov. 4 5 https://bugs.webkit.org/show_bug.cgi?id=38128 6 Don't add empty credential to CredentialStorage. 7 8 An empty credential is currently regarded as a invalid login because it means a missing value in 9 protectionSpaceToCredentialMap. This change makes it consistent with current WebCore's behavior 10 by ignoring empty credentials. 11 12 No new tests added since this only affects credential entered by user from credential dialog, 13 which is not testable in DRT. 14 15 * platform/network/mac/ResourceHandleMac.mm: 16 (WebCore::ResourceHandle::receivedCredential): 17 1 18 2010-04-26 Laszlo Gombos <laszlo.1.gombos@nokia.com> 2 19 -
trunk/WebCore/platform/network/mac/ResourceHandleMac.mm
r58158 r58264 573 573 if (challenge != d->m_currentWebChallenge) 574 574 return; 575 576 if (credential.isEmpty()) { 577 receivedRequestToContinueWithoutCredential(challenge); 578 return; 579 } 575 580 576 581 #ifdef BUILDING_ON_TIGER
Note: See TracChangeset
for help on using the changeset viewer.