stable
Clone or download
Read-only
Fix request #31586: XSS in the tooltip via an artifact title
Next step for the current story #26777 is to display the xref on top of the title so in order to prepare the field we use mustache to escape the title instead of DOMPurifier. Part of story #26777: have artifact tooltips on roadmap Change-Id: I534ead8a88361b364f5ee81556251dc3dc4c0bf6
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Artifact/Artifact.php | +1 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Semantic/Tooltip/TooltipFetcher.php | +10 | −4 | Go to diff View file |
A | plugins/tracker/templates/tooltip/artifact-tooltip-title.mustache | +1 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Semantic/Tooltip/TooltipFetcherTest.php | +30 | −7 | Go to diff View file |