You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ma...@apache.org on 2012/02/24 22:20:04 UTC

spec commit: Change encodeURL to encodeURI in file.tests.js

Updated Branches:
  refs/heads/master 7993d648f -> 19ebf0e98


Change encodeURL to encodeURI in file.tests.js


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/commit/19ebf0e9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/tree/19ebf0e9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/diff/19ebf0e9

Branch: refs/heads/master
Commit: 19ebf0e981877bedb6645be6e2ce139c196094ca
Parents: 7993d64
Author: macdonst <si...@gmail.com>
Authored: Fri Feb 24 16:19:58 2012 -0500
Committer: macdonst <si...@gmail.com>
Committed: Fri Feb 24 16:19:58 2012 -0500

----------------------------------------------------------------------
 autotest/tests/file.tests.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec/blob/19ebf0e9/autotest/tests/file.tests.js
----------------------------------------------------------------------
diff --git a/autotest/tests/file.tests.js b/autotest/tests/file.tests.js
index 608b71f..7be5645 100644
--- a/autotest/tests/file.tests.js
+++ b/autotest/tests/file.tests.js
@@ -425,7 +425,7 @@ Tests.prototype.FileTests = function() {
             
             var dirURL = dirEntry.toURL();
             // now encode URL and try to resolve
-            window.resolveLocalFileSystemURI(encodeURL(dirURL), testDirFromURL, that.fail);
+            window.resolveLocalFileSystemURI(encodeURI(dirURL), testDirFromURL, that.fail);
             
         },
         testDirFromURL = function(directory) {