Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.htaccess4
-rw-r--r--lib/private/legacy/response.php2
2 files changed, 3 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 43c8ea22065..2a4c8dfe5b6 100644
--- a/.htaccess
+++ b/.htaccess
@@ -41,8 +41,8 @@
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
- RewriteCond %{HTTP_USER_AGENT} DavClnt
- RewriteRule ^$ /remote.php/webdav/ [L,R=302]
+ RewriteCond %{HTTP_USER_AGENT} DavClnt
+ RewriteRule ^$ /remote.php/webdav/ [L,R=302]
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^\.well-known/host-meta /public.php?service=host-meta [QSA,L]
RewriteRule ^\.well-known/host-meta\.json /public.php?service=host-meta-json [QSA,L]
diff --git a/lib/private/legacy/response.php b/lib/private/legacy/response.php
index 73bafe70c3c..46d90816dbb 100644
--- a/lib/private/legacy/response.php
+++ b/lib/private/legacy/response.php
@@ -89,7 +89,7 @@ class OC_Response {
. 'frame-src *; '
. 'img-src * data: blob:; '
. 'font-src \'self\' data:; '
- . 'media-src *; '
+ . 'media-src *; '
. 'connect-src *; '
. 'object-src \'none\'; '
. 'base-uri \'self\'; ';