You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/08/15 01:50:13 UTC

[3/5] wp7 commit: [CB-1174]

[CB-1174]


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/f82ab3dc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/f82ab3dc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/f82ab3dc

Branch: refs/heads/master
Commit: f82ab3dcde33ccc4870cc155b89c3c627c96c67c
Parents: c737859
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Wed Aug 1 18:23:43 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Wed Aug 1 18:23:43 2012 -0700

----------------------------------------------------------------------
 templates/standalone/cordovalib/Commands/File.cs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/f82ab3dc/templates/standalone/cordovalib/Commands/File.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/File.cs b/templates/standalone/cordovalib/Commands/File.cs
index e2e5c29..5be792f 100644
--- a/templates/standalone/cordovalib/Commands/File.cs
+++ b/templates/standalone/cordovalib/Commands/File.cs
@@ -1018,10 +1018,9 @@ namespace WP7CordovaClassLib.Cordova.Commands
 
         public void resolveLocalFileSystemURI(string options)
         {
-            string uri = getSingleStringOption(options);
+            string uri = getSingleStringOption(options).Split('?')[0];
             if (uri != null)
             {
-
                 try
                 {
                     if (!Uri.IsWellFormedUriString(uri, UriKind.Absolute))