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

URL activities encode slashes in query parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 4.3.6, 4.4.2
    • General, Resource
    • MOODLE_403_STABLE, MOODLE_404_STABLE

      This may be related to https://tracker.moodle.org/browse/MDL-81313 and https://tracker.moodle.org/browse/MDL-81316

      Issue: When adding a URL activity, slashes in any part of the URL after a question mark (IE query parameters) are encoded, other special characters are not. In my case this is breaking student proxy access to a library database.

      To replicate:

      Login to Moodle https://sandbox.moodledemo.net/

      In a course, create URL activity and observe the link the user is directed to:

      https://example.com/demo -> https://example.com/demo

      https://example.com/demo?param1=string/with/slashes -> https://example.com/demo?param1=string%2Fwith%2Fslashes 

      https://example.com/demo?param1=string/with/slashes&ersands-dashes -> https://example.com/demo?param1=string%2Fwith%2Fslashes&ersands-dashes 

       

       

       

            Unassigned Unassigned
            benkahn1 Ben Kahn
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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