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

Data export file links are broken when names have special characters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.5.11
    • Privacy
    • MOODLE_35_STABLE

      To reproduce

      Setup
      1. Set up outgoing email for testing (e.g. mailcatcher)
      2. Enable the following Privacy admin settings
        • Contact the privacy officer
        • Automatic data export request approval
      3. Create a course with special characters in the course name (e.g. "# / \ > " < &")
      Replication steps
      1. Log in as a student enrolled in a course.
      2. Post to a forum. Make sure to add files/images and attachments in the forum post.
      3. Create a data export request.
      4. Run cron
      5. Download the data export archive.
      6. Extract the archive.
      7. Open index.html
      8. Navigate the tree to your data for your forum post.
      9. Click on the links to the files
      10. Expected: The selected file should be downloaded or rendered by the browser.
      11. Actual: You get a file not found error.

            Unassigned Unassigned
            jpataleta Jun Pataleta
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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