-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.5.8, 3.6.6, 3.7.2, STABLE backlog
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE
-
MDL-67102-master-wiki-page-title-charlimit-validation
-
There are multiple points using a wiki where a new page title is required and no validation for the 255 character limit is present.
a) When creating a new page in mod_wiki (fake example URL: https://replace-with-url.org/mod/wiki/create.php?action=new&swid=168), the form doesn't ensure that the page title is less than 256 characters. This leads to a database error.
(QA URL: https://qa.moodledemo.net/mod/wiki/create.php?action=new&swid=2)
b) When creating a new wiki, the form mod_wiki_mod_form doesn't validate the form field firstpagetitle (Fake example URL: https://replace-with-url.org/course/modedit.php?add=wiki&type=&course=8§ion=0&return=0&sr=0)