Page MenuHomePhabricator

Term input is not checked for illegal characters (slash, in particular)
Closed, DeclinedPublic

Description

Term inputs are not supposed to include slashes, because slashes are delimiters between course pages and institution pages and some of the code uses the number of slashes to determine how pages are handled and what their titles are.

However, slashes can enter the title of a course page if entered in the 'term' field. This results in a course for which Special:Enroll (at least) is broken.

Slashes should be automatically replaced in the 'term' of a course as suggested for institution and course field.

Event Timeline

Sputniza raised the priority of this task from to Needs Triage.
Sputniza updated the task description. (Show Details)
Sputniza subscribed.

See also the patch for the course title. The fix for this would be to apply the same thing to the term field. https://gerrit.wikimedia.org/r/#/c/183998/

Reedy subscribed.

Extension is being removed and archived.