Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-3226

Urls with query parameters, hash fragments or escaped spaces cannot be intercepted by plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • cordova-android
    • None

    Description

      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

      Attachments

        Activity

          People

            shravanrn Shravan Narayan
            shravanrn Shravan Narayan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: