diff --git a/themes/bootstrap3/templates/error/index.phtml b/themes/bootstrap3/templates/error/index.phtml index a7f10d51c12cdf4fa58548fbd4ec155fe0b0247a..19a86243a3f2dcd8fd961a4b69acff19a3f948b7 100644 --- a/themes/bootstrap3/templates/error/index.phtml +++ b/themes/bootstrap3/templates/error/index.phtml @@ -25,7 +25,7 @@ <? if (isset($this->display_exceptions) && $this->display_exceptions): ?> <h2><?=$this->transEsc('Exception')?>:</h2> <p> - <b><?=$this->transEsc('Message')?>:</b> <?=$this->exception->getMessage()?> + <b><?=$this->transEsc('Message')?>:</b> <?=$this->escapeHtml($this->exception->getMessage())?> </p> <h2><?=$this->transEsc('Backtrace')?>:</h2>