From 1981f0e77af4ba9dd0b04be14f21da8117c09b66 Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 5 May 2010 15:29:55 +0000 Subject: [PATCH] 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 --- Source/NSURLProtocol.m | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Source/NSURLProtocol.m b/Source/NSURLProtocol.m index 04e31c488..9aef2d728 100644 --- a/Source/NSURLProtocol.m +++ b/Source/NSURLProtocol.m @@ -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) {