Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-77737

Embedded images should not set wantsurl

XMLWordPrintable

    • MOODLE_401_STABLE

      Basically, the problem is: somebody somewhere included an <img> to the file that is not available for guests. After person logs in they get redirected to this random file instead of to the normal page.

      Here is an example:

      A teacher set the course block visibility to be on "Any page" instead of on "Any course page". As a result moodle attempts to display it on the enrolment page and the embedded file sets wantsurl and after user logs in they get redirected to the image instead of to to the course.

      Block configuration:

      Screencast:
      course_block_on_any_page.mp4

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.