Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2184

Add data:blob to main index.html meta tag

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.3.0
    • Fix Version/s: None
    • Component/s: AngularJS, Remote addons
    • Labels:
    • Affected Branches:
      MOODLE_33_STABLE
    • Sprint:
      Moodle Mobile 3.3.2

      Description

      Instead of

      <meta http-equiv="Content-Security-Policy" content="default-src *  filesystem: cdvfile: file: gap: https://ssl.gstatic.com; img-src * filesystem: gap: data: cdvfile: file: https://ssl.gstatic.com android-webview-video-poster:; style-src 'self' 'unsafe-inline' filesystem: cdvfile: file:; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:* filesystem: cdvfile: file:">

       

      Have

      <meta http-equiv="Content-Security-Policy" content="default-src * file: data: blob: filesystem: cdvfile: file: gap: https://ssl.gstatic.com; img-src * filesystem: gap: data: cdvfile: file: https://ssl.gstatic.com android-webview-video-poster:; style-src 'self' 'unsafe-inline' filesystem: cdvfile: file:; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://localhost:* filesystem: cdvfile: file:">

       

      By adding file: data: blob: it allows javascript file creation, which would tremendously help in the remote app plugin I am creating. Thank you!

       

      Note: If approved I am very willing to create the proper pull request with the change!

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            btc989 btc989
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: