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

Links to ".." can be broken in iframes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not a bug
    • 3.8.0
    • 3.8.1
    • Resource add-on
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.1

    Description

      We have a mini site resource that has a link to a new page inside a folder. In this new page there is a link to ".." to go back to index. This link doesn't work.

      I checked it and it seems the problem is that the navigation to the new page doesn't change the iframe URL, and IIRC we use that URL to calculate the path for relative URLs.

      How to reproduce:

      1. Go to 34 > MM Dev > Resource: File > Another mini-site with files in folders and relative links back 
      2. Click "Etiquette".
      3. Scroll to the bottom and click "Index page". 

      Attachments

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              25/Mar/20