stable

Clone or download

Read-only

request #14612: unterminated entity reference during tracker export

If the name of a report contains ampersand, then the export of the project should not display a warning. To reproduce the issue you can use the following string "R&D" in report name, report description, renderer name, … We should probably add a psalm check (or other) to prevent future unsafe usage of SimpleXMLElement->addChild(). This should come in a dedicated changeset however. Change-Id: Ie80cb98ca5a3075c7eeaf2869971e810b4959216

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDone.php +5 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/Semantic_InitialEffort.class.php +7 −6 Go to diff View file
M plugins/git/include/GitXMLExporter.php +5 −2 Go to diff View file
M plugins/graphontrackersv5/include/data-access/GraphOnTrackersV5_Chart.class.php +3 −2 Go to diff View file
M plugins/mediawiki/include/XMLMediaWikiExporter.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset_Comment.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/CannedResponse/Tracker_CannedResponse.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/Report/Tracker_Report_Renderer.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Contributor.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Description.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Title.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueArtifactLinkXMLExporter.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueDateXMLExporter.class.php +7 −3 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueFloatXMLExporter.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueIntegerXMLExporter.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueListXMLExporter.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetValue/ChangesetValueOpenListXMLExporter.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/ChangesetXMLExporter.class.php +8 −5 Go to diff View file
M plugins/tracker/include/Tracker/XML/Exporter/FileInfoXMLExporter.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/FieldChange/FieldChangeListXMLUpdater.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/XML/Updater/MoveChangesetXMLUpdater.php +20 −14 Go to diff View file
M plugins/tracker/include/TrackerXmlExport.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Workflow/SimpleMode/SimpleWorkflowXMLExporter.php +3 −1 Go to diff View file
M plugins/tracker/include/Workflow/Trigger/RulesManager.class.php +2 −1 Go to diff View file
M plugins/tracker/include/Workflow/Workflow.class.php +5 −4 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +4 −3 Go to diff View file
M src/common/User/XML/UserXMLExportedCollection.php +2 −2 Go to diff View file
M src/common/xml/SimpleXMLCDATAFactory.class.php +9 −2 Go to diff View file