mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fixup credential equality check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37430 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b345f55779
commit
805cf33e93
2 changed files with 10 additions and 2 deletions
|
@ -1,8 +1,14 @@
|
|||
2013-12-04 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSURLCredential.m: ([-isEqual:]) needs to take the password
|
||||
and persistence into account, not just the username.
|
||||
|
||||
2013-11-29 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Headers/ObjectiveC2/objc/runtime.h
|
||||
* Headers/Foundation/NSObjCRuntime.h
|
||||
Insert some kludge for PTR stuff on systems with fake C99 compatible headers.
|
||||
Insert some kludge for PTR stuff on systems with fake C99
|
||||
compatible headers.
|
||||
|
||||
2013-11-26 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
|
|
|
@ -132,7 +132,9 @@ typedef struct {
|
|||
{
|
||||
return NO;
|
||||
}
|
||||
return [[(NSURLCredential*)other user] isEqualToString: this->user];
|
||||
return [[(NSURLCredential*)other user] isEqualToString: this->user]
|
||||
&& [[(NSURLCredential*)other password] isEqualToString: this->password]
|
||||
&& [(NSURLCredential*)other persistence] == this->persistence;
|
||||
}
|
||||
|
||||
- (NSString *) password
|
||||
|
|
Loading…
Reference in a new issue