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

Incorrect URL encoding for text customfield link fields

XMLWordPrintable

    • 2
    • WP Sprint 2024-I4.2 (Clones)

      To test this:

      • Create a course custom field and call it "Link"
      • Set "Link field" to "https://$$" and Save
      • Create a course and set the "Link" custom field to a url with slashes (e.g. moodle.com/news) and save
      • Log our and view the available course (tbh I don't remember if any configuration was necessary to see the courses there) - i.e https://yoursite/course/index.php
      • Click in the "Link" field value
      • You will be redirected to "about:blank#blocked"
      • Check also the href value of the link
      • It changed from "/" to "%2F"

            pholden Paul Holden
            odei.alba@moodle.com Odei Alba
            Odei Alba Odei Alba
            Huong Nguyen Huong Nguyen
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 15 minutes
                2h 15m

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