-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
3.8.3, 3.11.5, 4.0
Putting a tab character into the name of a discussion forum will trigger a JSON syntax error response whenever the post is displayed using AJAX.
Reproduction steps:
- Create a new discussion forum
- Create a topic in the discussion forum with a tab character in the title (you will probably have to copy and paste it in)
- Reply to the discussion forum with the non advanced editor (that loads via ajax)
- A JSON parsing syntax error will be triggered when trying to parse the AJAX response
Expected Behavior:
The forum should post the response to the discussion.
Observed Behavior:
An error is thrown.
This also affects loading discussions for grading.