]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Special/HTTPException.php
spelling: however
[friendica.git] / src / Module / Special / HTTPException.php
index 9c9a29c55fd8c171b71a9eedc6cbaaf858f9d018..8a8cc30ebb99dcd7ae98acaf8e97699164240aa8 100644 (file)
@@ -104,6 +104,7 @@ class HTTPException
                                $tpl     = Renderer::getMarkupTemplate('http_status.tpl');
                                $content = Renderer::replaceMacros($tpl, $vars);
                        } catch (\Exception $e) {
+                               $vars = array_map('htmlentities', $vars);
                                $content = "<h1>{$vars['$title']}</h1><p>{$vars['$message']}</p>";
                                if ($this->isSiteAdmin) {
                                        $content .= "<p>{$vars['$thrown']}</p>";