diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-09 11:29:20 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2016-06-09 15:51:41 +0200 |
commit | 1399e87d57e1b91a5d6888021bef310d35f10b4f (patch) | |
tree | 132d296ad09cb857067f0bc62000d33d99a36224 /apps/dav/lib/Connector/Sabre/ServerFactory.php | |
parent | 4c26abe228bedb0ebb0ffa5a6f5f399e16871880 (diff) | |
download | nextcloud-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.php | 1 |
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) ) |