mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-24 01:11:01 +00:00
don't put frgement in URI in request
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30298 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6c9a892c54
commit
9fa57f0eed
1 changed files with 2 additions and 8 deletions
|
@ -1269,8 +1269,8 @@ static NSURLProtocol *placeholder = nil;
|
|||
m = [[NSMutableString alloc] initWithCapacity: 1024];
|
||||
|
||||
/* The request line is of the form:
|
||||
* method /path#fragment?query HTTP/version
|
||||
* where the fragment and query parts may be missing
|
||||
* method /path?query HTTP/version
|
||||
* where the query part may be missing
|
||||
*/
|
||||
[m appendString: [this->request HTTPMethod]];
|
||||
[m appendString: @" "];
|
||||
|
@ -1282,12 +1282,6 @@ static NSURLProtocol *placeholder = nil;
|
|||
[m appendString: @"/"];
|
||||
}
|
||||
[m appendString: s];
|
||||
s = [u fragment];
|
||||
if ([s length] > 0)
|
||||
{
|
||||
[m appendString: @"#"];
|
||||
[m appendString: s];
|
||||
}
|
||||
s = [u query];
|
||||
if ([s length] > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue