Do not double-percent-escape the filename.
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 30 Mar 2014 17:18:38 +0000 (13:18 -0400)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 30 Mar 2014 17:18:38 +0000 (13:18 -0400)
Source/DebuggerBackEnd.m

index 64a21d9c277956dbeea237969951998a99f15ca4..81b798dc252e6aba8e2c177c90962dc4265724a0 100644 (file)
 
   // 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];
   }