incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [3/5] wp7 commit: [CB-1174]
Date Tue, 14 Aug 2012 23:50:13 GMT
[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 <purplecabbage@gmail.com>
Authored: Wed Aug 1 18:23:43 2012 -0700
Committer: Jesse MacFadyen <purplecabbage@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))


Mime
View raw message