Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: STABLE backlog
-
Component/s: Wiki (1.x)
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
Description
It's possible to use quotes when defining a Wiki name. These quotes are passed intact when generating the View, Edit, Links, History, Attach tabs, resulting in a truncated link and the wrong wikipage being displayed.
The attached patch applies the htmlspecialchars to the ewiki_id, converting the double quotes into html entities, correcting the problem.
Hi Matt,
that diff seems to be back to front, and it doesn't solve the issue in 1.9 - have you missed anything from the patch?
thanks,
Dan