Skip to content
Snippets Groups Projects
Commit c2976c6c authored by Jean-Laurent DUZANT's avatar Jean-Laurent DUZANT
Browse files

FIX #19031 TIME 0:10 - GHE - Dossier complet : warning PHP au download | add htmlspecialchars

parent a095ef7e
No related branches found
No related tags found
No related merge requests found
...@@ -638,7 +638,7 @@ class HistoryController ...@@ -638,7 +638,7 @@ class HistoryController
if (is_array($value)) { if (is_array($value)) {
HistoryController::arrayToXml(['data' => $value, 'xml' => $args['xml']->addChild(str_replace([' ','(',')'], '', $node))]); HistoryController::arrayToXml(['data' => $value, 'xml' => $args['xml']->addChild(str_replace([' ','(',')'], '', $node))]);
} else { } else {
$args['xml']->addChild(str_replace([' ','(',')'], '', $node), $value); $args['xml']->addChild(str_replace([' ','(',')'], '', $node), htmlspecialchars($value));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment