mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-03 01:50:55 +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
c7afe49254
commit
027b437d5a
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>
|
2013-11-29 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
* Headers/ObjectiveC2/objc/runtime.h
|
* Headers/ObjectiveC2/objc/runtime.h
|
||||||
* Headers/Foundation/NSObjCRuntime.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>
|
2013-11-26 Riccardo Mottola <rm@gnu.org>
|
||||||
|
|
||||||
|
|
|
@ -132,7 +132,9 @@ typedef struct {
|
||||||
{
|
{
|
||||||
return NO;
|
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
|
- (NSString *) password
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue