diff options
author | Vincent Petry <pvince81@owncloud.com> | 2016-06-15 15:27:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-15 15:27:36 +0200 |
commit | 3da5d06aa045ca01c8d38eaea02b3f63ae783648 (patch) | |
tree | 944c74c4159fa4e6dd1ec3acfdc7081e54c2bf9d /build | |
parent | c5a60c3ae0a569215d7dc5fd27bd5ec8465bf0c3 (diff) | |
parent | 81761b87e4d29989329b398d4f797f0ccb47b144 (diff) | |
download | nextcloud-server-3da5d06aa045ca01c8d38eaea02b3f63ae783648.tar.gz nextcloud-server-3da5d06aa045ca01c8d38eaea02b3f63ae783648.zip |
Merge pull request #25052 from owncloud/stable9-webdav-download-mimetype
[stable9] DAV now returns file name with Content-Disposition header
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 ee841f9eb5b..45a36499251 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -73,7 +73,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 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *| |X-Content-Type-Options |nosniff| |X-Download-Options|noopen| @@ -88,7 +88,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 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src *| |X-Content-Type-Options |nosniff| |X-Download-Options|noopen| |