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

Embedded iframes links and window.open should be treated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.1
    • Fix Version/s: 3.5.2
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide
      1. Create an HTML file containing at least 1 link with target "_blank".
      2. Upload that file in a public domain or in the same Moodle server so it can be embedded.
      3. In Moodle as teacher, create a new Page and put an iframe pointing to the previous file.
      4. In the app, open the previous Page and click the link. Check that the link is opened in browser.
      Show
      Create an HTML file containing at least 1 link with target "_blank". Upload that file in a public domain or in the same Moodle server so it can be embedded. In Moodle as teacher, create a new Page and put an iframe pointing to the previous file. In the app, open the previous Page and click the link. Check that the link is opened in browser.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE
    • Sprint:
      Moodle Mobile 3.5.2

      Description

      In core-iframe we have some code to treat the iframe so its links and window.open calls don't override the app. However, this doesn't affect iframes embedded in Moodle (in a page for example). This means that those iframes can easiliy override the app if they have a link with target="_blank" or similar.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dpalou Dani Palou
                Reporter:
                dpalou Dani Palou
                Peer reviewer:
                Pau Ferrer
                Integrator:
                Juan Leyva
                Tester:
                Juan Leyva
                Participants:
                Component watchers:
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  10/Sep/18