mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
Fix bug #20168
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
94439e8926
commit
4f6e71abcd
3 changed files with 26 additions and 2 deletions
|
@ -382,8 +382,10 @@ static void debugWrite(GSHTTPURLHandle *handle, NSData *data)
|
|||
|
||||
+ (BOOL) canInitWithURL: (NSURL*)newUrl
|
||||
{
|
||||
if ([[newUrl scheme] isEqualToString: @"http"]
|
||||
|| [[newUrl scheme] isEqualToString: @"https"])
|
||||
NSString *scheme = [newUrl scheme];
|
||||
|
||||
if ([scheme isEqualToString: @"http"]
|
||||
|| [scheme isEqualToString: @"https"])
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue