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

Extract whitelist functionality into a plugin

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: None
    • Labels:
      None

      Description

      Mailing list thread: http://markmail.org/message/6jqt5f3t4iio52td
      Also @apache: https://mail-archives.apache.org/mod_mbox/cordova-dev/201407.mbox/%3CCADVgkyNN3EKT4xiRXJFbwMGFhsrVF3kHQRzd3exvb5nW7_GdfA%40mail.gmail.com%3E

      Ideally the network policy is completely removed from Cordova core, and replaced with a small set of plugin hooks so that different kinds of policies can be implemented in different plugins. The current whitelist implementation can be an example plugin provided for backwards-compatibility.

      It should also be possible, once this is removed, to control the webview's network policy with CSP, in most platforms.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iclelland Ian Clelland
                Reporter:
                iclelland Ian Clelland
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: