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 /build | |
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 'build')
-rw-r--r-- | build/integration/features/webdav-related.feature | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index f4d40615fa7..14ff505463c 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -82,7 +82,7 @@ Feature: webdav-related And As an "admin" When Downloading file "/welcome.txt" Then The following headers should be set - |Content-Disposition|attachment| + |Content-Disposition|attachment; filename*=UTF-8''welcome.txt; filename="welcome.txt"| |Content-Security-Policy|default-src 'none';| |X-Content-Type-Options |nosniff| |X-Download-Options|noopen| @@ -97,7 +97,7 @@ Feature: webdav-related And As an "admin" When Downloading file "/welcome.txt" Then The following headers should be set - |Content-Disposition|attachment| + |Content-Disposition|attachment; filename*=UTF-8''welcome.txt; filename="welcome.txt"| |Content-Security-Policy|default-src 'none';| |X-Content-Type-Options |nosniff| |X-Download-Options|noopen| |