Closed roperto closed 7 years ago
We should probably flog some battle tested code from another project, a good candidate is sanitize_title_with_dashes()
from wordpress:
Not sure about pulling in the utf8 stuff, we can cross that bridge later as needed. Add a comment with attribution back to the wordpress source / function
Done, but I had to import a few extra functions together.
Issued raised by @nhoobin
Assignment Stage 2 (ASS#2) The shortname is 'ASS#2'.
Example page with the issue. https://moodle/course/ABC123/assign/456-ass#2
Scroll down to and click on 'View all Submissions' in the administration navigation bar. https://moodle/course/ABC123/assign/456-ass#2?action=grading
Nothing happens as the url thinks it is an anchor link.
The cleanurls plugin should only allow alphanumeric, -, and _ characters. Characters with accents should be allowed too.