fix possible xss attack

This commit is contained in:
Uwe Steinmann 2022-12-06 11:15:51 +01:00
parent e40f7e6a25
commit 99569a3435

View File

@ -104,7 +104,7 @@ $(document).ready(function() {
'required'=>false
)
);
$this->formSubmit(getMLText("action_".strtolower($action->getName()), array(), $action->getName()));
$this->formSubmit(getMLText("action_".strtolower($action->getName()), array(), htmlspecialchars($action->getName())));
?>
</form>
<?php