From c4ebc5c4a9e403d854b85b4138ffc3f6957689cc Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 8 Mar 2016 18:20:14 +0100 Subject: CSP for SVG And moved .htaccess rules in the folder there are used https://github.com/FreshRSS/FreshRSS/issues/1114 --- p/themes/.htaccess | 21 +++++++++++++++++++++ p/themes/index.html | 13 +++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 p/themes/.htaccess create mode 100644 p/themes/index.html (limited to 'p/themes') diff --git a/p/themes/.htaccess b/p/themes/.htaccess new file mode 100644 index 000000000..bde718537 --- /dev/null +++ b/p/themes/.htaccess @@ -0,0 +1,21 @@ + + AddType application/font-woff .woff + + AddCharset UTF-8 .css + AddCharset UTF-8 .svg + + + + ExpiresActive on + ExpiresByType application/font-woff "access plus 1 month" + ExpiresByType image/gif "access plus 1 month" + ExpiresByType image/png "access plus 1 month" + ExpiresByType image/svg+xml "access plus 1 month" + ExpiresByType text/css "access plus 1 month" + + + + + Header set Content-Security-Policy "default-src 'self'; style-src 'self' 'unsafe-inline'" + + diff --git a/p/themes/index.html b/p/themes/index.html new file mode 100644 index 000000000..85faaa37e --- /dev/null +++ b/p/themes/index.html @@ -0,0 +1,13 @@ + + + + + +Redirection + + + + +

Redirection

+ + -- cgit v1.2.3