UCL-INGI / INGInious

INGInious is a secure and automated exercises assessment platform using your own tests, also providing a pluggable interface with your existing LMS.
http://www.inginious.org
Other
207 stars 140 forks source link

[frontend/tasks] avoid repeating taskid for public files links #901

Open anthonygego opened 1 year ago

anthonygego commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently, all paths to the task public files put in any of the task statements, even in relative paths, have to contain the taskid because there is no trailing / in the tasks URLs. That does not ease task redistribution, and no mechanism can warn the user if they forget to update the rst fields.

Describe the solution you'd like Whatever that would allow not to repeat the taskid, that would not introduce regressions, with a clean implementation.

Possibilities: