brendanheywood / moodle-local_cleanurls

Lets drag Moodle's url structure into this century...
37 stars 24 forks source link

Course format cannot clean a course section URL #95

Open roperto opened 7 years ago

roperto commented 7 years ago

Uncleaning is nested which gives way the ability to each part of the URL to be uncleaned by its own handler.

Cleaning is absolute, based on the incoming URL. So, when a course can be cleaner, it does not let the course format to handle its own implementation.

We need a way to provide a hook for that, for example:

While this works, the format_plugin could use foo=bar to further clean it up.