Open roperto opened 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:
/course/view.php?id=123
/course/MyCourse
/course/view.php?id=123&foo=bar
/course/MyCourse?foo=bar
While this works, the format_plugin could use foo=bar to further clean it up.
foo=bar
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:
/course/view.php?id=123
maps to/course/MyCourse
/course/view.php?id=123&foo=bar
maps to/course/MyCourse?foo=bar
While this works, the format_plugin could use
foo=bar
to further clean it up.