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

Add an as_local_url() method to moodle_url

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3
    • 2.1.1
    • Libraries

      This function will return a relative path to $CFG->wwwroot for passing around as PARAM_LOCAL_URL without triggering statefull firewalls worrying about full HTTP paths and also enforces safe passing as LOCAL_URL's

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            Tim Hunt Tim Hunt
            Sam Hemelryk Sam Hemelryk
            Ankit Agarwal Ankit Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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