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

showWebPage with openExternal=true allows webview navigations that are not whitelisted

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-android
    • Labels:
      None

      Description

      If you call showWebPage() with openExernal=true, and the URL fails the shouldAllowOpenExternal() check, then it's loaded into the webview without checking shouldAllowNavigation(). Clearly an oversight.

        Attachments

          Activity

            People

            • Assignee:
              agrieve Andrew Grieve
              Reporter:
              agrieve Andrew Grieve
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: