This issue has been created
There are 4 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-b094c636-7be2-46ec-90ab-3a3c9ce24410 XWIKI-25787 Open

Outdated documentation of the HTML sanitizer configuration in xwiki.properties

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-a50727ea-81e1-4aed-95ab-f7733242caae Michael Hamann created this issue on 17/Nov/26 14:50
 
Summary: Outdated documentation of the HTML sanitizer configuration in xwiki.properties
Issue Type: cid:jira-generated-image-avatar-b094c636-7be2-46ec-90ab-3a3c9ce24410 Bug
Affects Versions: 17.10.15
Assignee: Unassigned
Components: Configuration resources (Tool)
Created: 17/Nov/26 14:50
Priority: cid:jira-generated-image-static-minor-721418d0-6f30-4b02-856e-47b73b82a027 Minor
Reporter: Michael Hamann
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.
 
 

4 updates

 
cid:jira-generated-image-avatar-a50727ea-81e1-4aed-95ab-f7733242caae Changes by Michael Hamann on 17/Nov/26 14:51
 
Fix Version: 18.4.9
Fix Version: 17.10.16
Fix Version: 18.10.0-rc-1
Assignee: Michael Hamann