mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
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:
parent
01aeb398cb
commit
7eb81eae25
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue