Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request from GHSA-mrpj-67mq-3fr5
Escape exception message when rendering PrestaShopException
  • Loading branch information
PierreRambaud committed Apr 15, 2020
2 parents 6838d21 + 664b1de commit ea85210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/exception/PrestaShopException.php
Expand Up @@ -230,7 +230,7 @@ protected function getExtendedMessage($html = true)

return sprintf(
$format,
$this->getMessage(),
Tools::safeOutput($this->getMessage(), true),
$this->getLine(),
ltrim(str_replace(array(_PS_ROOT_DIR_, '\\'), array('', '/'), $this->getFile()), '/')
);
Expand Down

0 comments on commit ea85210

Please sign in to comment.