git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30296 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2010-05-05 13:43:42 +00:00
parent 1f6a6d8925
commit 235b75ed69
3 changed files with 14 additions and 4 deletions

View file

@ -1275,7 +1275,8 @@ static NSURLProtocol *placeholder = nil;
[m appendString: [this->request HTTPMethod]];
[m appendString: @" "];
u = [this->request URL];
s = [u fullPath];
s = [[u fullPath] stringByAddingPercentEscapesUsingEncoding:
NSUTF8StringEncoding];
if ([s hasPrefix: @"/"] == NO)
{
[m appendString: @"/"];