-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.5, 5.0
-
MOODLE_405_STABLE, MOODLE_500_STABLE
When a user inadvertently enters HTML into a 'Short text' custom field, the HTML will be stripped and saved with no error notification for the user (same here for the title in a course name field). For example:
Entered:
Score <60% some more text |
Saved result:
Score
|
Before saving, the data should be validated for HTML existence and if found, display a suitable error message to the user.
We would need to show a validation error message instead of just removing the unwanted text.
- has a non-specific relationship to
-
MDL-46754 clean_param with PARAM_TEXT does not support less than character
-
- Open
-