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

Cannot navigate inside http iframes, all links are opened in browser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide
      1. In the app, go to Mobile 34 > MM Dev Testing > Resource: Page > Page with this course embedded. Please notice that the iframe will fill only part of the screen in android.
      2. In the General section of the course you'll see a link named "A url with target _blank". Click it and check that the URL is opened in browser.
      3. Now click to open any of the activities in the course (e.g. News forum or A book with embedded files). Check that the activity is opened inside the iframe instead of being opened in browser.
      Show
      In the app, go to Mobile 34 > MM Dev Testing > Resource: Page > Page with this course embedded. Please notice that the iframe will fill only part of the screen in android. In the General section of the course you'll see a link named "A url with target _blank". Click it and check that the URL is opened in browser. Now click to open any of the activities in the course (e.g. News forum or A book with embedded files). Check that the activity is opened inside the iframe instead of being opened in browser.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      Right now, if a link inside an iframe has http(s) protocol it's always opened in browser. If the iframe also uses http(s) protocol, we should check the target of the link to decide if it should be opened in the browser or in the iframe itself.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/19