summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/Connector/Sabre/ServerFactory.php
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-06-09 11:29:20 +0200
committerVincent Petry <pvince81@owncloud.com>2016-06-09 15:51:41 +0200
commit1399e87d57e1b91a5d6888021bef310d35f10b4f (patch)
tree132d296ad09cb857067f0bc62000d33d99a36224 /apps/dav/lib/Connector/Sabre/ServerFactory.php
parent4c26abe228bedb0ebb0ffa5a6f5f399e16871880 (diff)
downloadnextcloud-server-1399e87d57e1b91a5d6888021bef310d35f10b4f.tar.gz
nextcloud-server-1399e87d57e1b91a5d6888021bef310d35f10b4f.zip
DAV now returns file name with Content-Disposition header
Fixes issue where Chrome would append ".txt" to XML files when downloaded in the web UI
Diffstat (limited to 'apps/dav/lib/Connector/Sabre/ServerFactory.php')
-rw-r--r--apps/dav/lib/Connector/Sabre/ServerFactory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/dav/lib/Connector/Sabre/ServerFactory.php b/apps/dav/lib/Connector/Sabre/ServerFactory.php
index b193bfc76c7..699dd77166e 100644
--- a/apps/dav/lib/Connector/Sabre/ServerFactory.php
+++ b/apps/dav/lib/Connector/Sabre/ServerFactory.php
@@ -144,6 +144,7 @@ class ServerFactory {
$objectTree,
$view,
$this->config,
+ $this->request,
false,
!$this->config->getSystemValue('debug', false)
)