mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix for accessing specific ports via proxy.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13613 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0dbc651a6e
commit
d936effa90
2 changed files with 16 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-05-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSHTTPURLHandle.m: Insert port information to URL passed
|
||||
to proxy.
|
||||
|
||||
2002-05-09 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBundle.m
|
||||
|
@ -7,7 +12,7 @@
|
|||
2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSTask.m: When launching under windoze, don't forget to
|
||||
use the fileSystemrepresentation of the program name.
|
||||
use the fileSystemRepresentation of the program name.
|
||||
|
||||
2002-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -566,8 +566,16 @@ static void debugWrite(NSData *data)
|
|||
if ([[request objectForKey: GSHTTPPropertyProxyHostKey] length] > 0
|
||||
&& [[url scheme] isEqualToString: @"https"] == NO)
|
||||
{
|
||||
s = [[NSMutableString alloc] initWithFormat: @"%@ http://%@%@",
|
||||
method, [url host], [url path]];
|
||||
if ([url port] == nil)
|
||||
{
|
||||
s = [[NSMutableString alloc] initWithFormat: @"%@ http://%@%@",
|
||||
method, [url host], [url path]];
|
||||
}
|
||||
else
|
||||
{
|
||||
s = [[NSMutableString alloc] initWithFormat: @"%@ http://%@:%@%@",
|
||||
method, [url host], [url port], [url path]];
|
||||
}
|
||||
}
|
||||
else // no proxy
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue