Safari asks for credentials for each resource from a server using NTLM auth.
<rdar://problem/7813115>
Created attachment 52781 [details] proposed fix
Comment on attachment 52781 [details] proposed fix > +#if defined(BUILDING_ON_TIGER) || defined(BUILDING_ON_LEOPARD) > +// There is no contsnt in headers, but NTLM is supported. > +NSString * const NSURLAuthenticationMethodNTLM = @"NSURLAuthenticationMethodNTLM"; > +#endif Typo: "contsnt" How does ProtectionSpaceAuthenticationSchemeUnknown help us? Does it affect behavior? r=me
Committed r57232. We don't fall into the default case in if (scheme == ProtectionSpaceAuthenticationSchemeHTTPBasic || scheme == ProtectionSpaceAuthenticationSchemeDefault) { // The map can contain both a path and its subpath - while redundant, this makes lookups faster. pathToDefaultProtectionSpaceMap().set(protectionSpaceMapKeyFromURL(url), protectionSpace); }
We were hitting this with "NSURLAuthenticationMethodNTLM" on 10.5, or with "NSURLAuthenticationMethodNegotiate" on 10.6.