diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-11-10 16:16:33 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-01-06 09:42:13 +0100 |
commit | 3b62003c9c085dc76357220fc83f14bcf96c60a2 (patch) | |
tree | e30b5286208c5dff3c0fc58c8dc9e37e47bc4464 /core/Controller/CssController.php | |
parent | 2f5f1096ad3d754ae4e55d5e53be44e5bba9db19 (diff) | |
download | nextcloud-server-3b62003c9c085dc76357220fc83f14bcf96c60a2.tar.gz nextcloud-server-3b62003c9c085dc76357220fc83f14bcf96c60a2.zip |
Injection fix and log appname fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/Controller/CssController.php')
-rw-r--r-- | core/Controller/CssController.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Controller/CssController.php b/core/Controller/CssController.php index 45a188adba6..31ec801d21c 100644 --- a/core/Controller/CssController.php +++ b/core/Controller/CssController.php @@ -54,7 +54,7 @@ class CssController extends Controller { } /** - * @NoAdminRequired + * @PublicPage * @NoCSRFRequired * * @param string $fileName css filename with extension @@ -76,8 +76,7 @@ class CssController extends Controller { $response->addHeader('Expires', $expires->format(\DateTime::RFC2822)); $response->addHeader('Pragma', 'cache'); return $response; - } else { - return new NotFoundResponse(); } + return new NotFoundResponse(); } } |