Set the protection space domain for caching basic authentication info to be the

path of the URL the challenge was associated with, rather than the entire host.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@23124 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-07-04 11:10:13 +00:00
parent 01aeb398cb
commit 7eb81eae25

View file

@ -149,6 +149,7 @@ static GSMimeParser *mimeParser = nil;
if ([sc scanString: @"Basic" intoString: 0] == YES)
{
method = NSURLAuthenticationMethodHTTPBasic;
domain = [URL path];
}
else if ([sc scanString: @"Digest" intoString: 0] == YES)
{