diff --git a/src/App.php b/src/App.php index 445101309..013c12b90 100644 --- a/src/App.php +++ b/src/App.php @@ -116,7 +116,7 @@ class App public function registerStylesheet($path) { $url = str_replace($this->getBasePath() . DIRECTORY_SEPARATOR, '', $path); - + $url = htmlspecialchars($url, ENT_COMPAT, 'UTF-8'); $this->stylesheets[] = trim($url, '/'); }