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

Avoid rendering external assets before core-external-content is applied

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Others
    • Affected Branches:
      MOODLE_38_STABLE

      Description

      The core-external-content directive is used to filter embedded assets, such as images, and prepare them to be displayed in the app. For example, adding authentication tokens if necessary.

      However, the content is being rendered before the directive is applied, and this is causing unintended consequences. For example, triggering a request for the assets without the authentication token, as reported here.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            noeldemartin Noel De Martin
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: