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

Links to ".." can be broken in iframes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.8.0
    • Fix Version/s: 3.8.1
    • Component/s: Resource add-on
    • Labels:
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Sprint:
      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

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              25/Mar/20