You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2013/03/14 00:02:26 UTC

[2/2] android commit: CB-2668: Thanks for supplying a patch, but please make sure it actually builds.

Updated Branches:
  refs/heads/master fcd2c989a -> 9fc1e7272


CB-2668: Thanks for supplying a patch, but please make sure it actually builds.


Project: http://git-wip-us.apache.org/repos/asf/cordova-android/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-android/commit/9fc1e727
Tree: http://git-wip-us.apache.org/repos/asf/cordova-android/tree/9fc1e727
Diff: http://git-wip-us.apache.org/repos/asf/cordova-android/diff/9fc1e727

Branch: refs/heads/master
Commit: 9fc1e7272ed9ee856b2b0f497b8d33c32da677e9
Parents: 0d4d0b8
Author: Joe Bowser <bo...@apache.org>
Authored: Wed Mar 13 16:02:06 2013 -0700
Committer: Joe Bowser <bo...@apache.org>
Committed: Wed Mar 13 16:02:06 2013 -0700

----------------------------------------------------------------------
 .../cordova/IceCreamCordovaWebViewClient.java      |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-android/blob/9fc1e727/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
----------------------------------------------------------------------
diff --git a/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java b/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
index 0a83571..2142714 100644
--- a/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
+++ b/framework/src/org/apache/cordova/IceCreamCordovaWebViewClient.java
@@ -42,7 +42,7 @@ public class IceCreamCordovaWebViewClient extends CordovaWebViewClient {
 
     @Override
     public WebResourceResponse shouldInterceptRequest(WebView view, String url) {
-        if(url.contains("?") || url.contains("#") || needsSpaceInAssetUrlFix(url)){
+        if(url.contains("?") || url.contains("#") || needsIceCreamSpaceInAssetUrlFix(url)){
             return generateWebResourceResponse(url);
         } else {
             return super.shouldInterceptRequest(view, url);