You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shravan Narayan (JIRA)" <ji...@apache.org> on 2013/04/25 00:25:16 UTC

[jira] [Created] (CB-3226) Urls with query parameters, hash fragments or escaped spaces cannot be intercepted by plugins

Shravan Narayan created CB-3226:
-----------------------------------

             Summary: Urls with query parameters, hash fragments or escaped spaces cannot be intercepted by plugins
                 Key: CB-3226
                 URL: https://issues.apache.org/jira/browse/CB-3226
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android
    Affects Versions: 2.6.0
            Reporter: Shravan Narayan
            Assignee: Shravan Narayan
             Fix For: 2.7.0


IceCreamCordovaWebViewClient.java in the shouldInterceptRequest does the following
- check if the url contains a "?" "#" or "%20" and if so load the asset manually as the AssetManager breaks
- check if any registered plugins want to intercept requests

However, the correct order for this should be would be the reverse so that plugins can intercept url's with query parameters, hash fragments or escaped spaces

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira