Details
-
Bug
-
Resolution: Fixed
-
Minor
-
17.10.15
-
None
Description
The documentation of the HTML sanitizer configuration in xwiki.properties is outdated:
- The documentation of xml.htmlElementSanitizer.extraElementRestrictedAttributes states that only the name attribute is restricted by default. Since
XCOMMONS-3866, the HTML sanitizer also restricts the for attribute to the label and output elements. - The links to the lists of allowed tags and attributes in the documentation of xml.htmlElementSanitizer.extraAllowedTags and xml.htmlElementSanitizer.extraAllowedAttributes point to versions of the code from 2022. They miss later changes like the removal of the form-related tags (
XCOMMONS-2634) and the support of camel case SVG element names (XCOMMONS-3869), and the line numbers in some of them no longer match the lists.
Attachments
Issue Links
- relates to
-
XCOMMONS-3866 The HTML sanitizer allows the for attribute on all elements
-
- Closed
-