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

Embedded iframes links and window.open should be treated

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.5.1
    • 3.5.2
    • Others
    • 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.
    • MOODLE_35_STABLE
    • MOODLE_35_STABLE
    • 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

              dpalou Dani Palou
              dpalou Dani Palou
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Sep/18