You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2013/01/11 18:23:01 UTC

ios commit: [ios] Remove %-escaping version of FileReader.readAsText()

Updated Branches:
  refs/heads/master f259dcd4a -> 20b20b8d4


[ios] Remove %-escaping version of FileReader.readAsText()

https://issues.apache.org/jira/browse/CB-2168


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/20b20b8d
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/20b20b8d
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/20b20b8d

Branch: refs/heads/master
Commit: 20b20b8d48bcd39ebe509cd302a43b1781d5431c
Parents: f259dcd
Author: Andrew Grieve <ag...@chromium.org>
Authored: Fri Jan 11 12:22:35 2013 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Fri Jan 11 12:22:35 2013 -0500

----------------------------------------------------------------------
 CordovaLib/Classes/CDVFile.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/20b20b8d/CordovaLib/Classes/CDVFile.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVFile.m b/CordovaLib/Classes/CDVFile.m
index 977ae85..348d717 100644
--- a/CordovaLib/Classes/CDVFile.m
+++ b/CordovaLib/Classes/CDVFile.m
@@ -954,7 +954,7 @@ extern NSString * const NSURLIsExcludedFromBackupKey __attribute__((weak_import)
             pNStrBuff = @"";
         }
 
-        result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:[pNStrBuff stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
+        result = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:pNStrBuff];
     }
     [self.commandDelegate sendPluginResult:result callbackId:command.callbackId];
 }