From 8824d68d7c25a3d2d6b3889fc4ce5951a5106879 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 30 Mar 2014 13:18:38 -0400 Subject: [PATCH] Do not double-percent-escape the filename. --- Source/DebuggerBackEnd.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/DebuggerBackEnd.m b/Source/DebuggerBackEnd.m index 64a21d9..81b798d 100644 --- a/Source/DebuggerBackEnd.m +++ b/Source/DebuggerBackEnd.m @@ -197,8 +197,7 @@ // Get the source code of the file. Escape % in URL chars. if ([frame.filename length]) { - NSString* escapedFilename = [frame.filename stringByReplacingOccurrencesOfString:@"%" withString:@"%%"]; - transaction = [client_ sendCommandWithFormat:@"source -f %@", escapedFilename]; + transaction = [client_ sendCommandWithFormat:@"source -f %@", frame.filename]; [self recordCallback:@selector(setSource:) forTransaction:transaction]; [callbackContext_ setObject:routingNumber forKey:transaction]; } -- 2.22.5