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
path: root/build
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-09-07 09:40:23 +0300
committerGitHub <noreply@github.com>2020-09-07 09:40:23 +0300
commit54438c9d2689748f41262e73fb9b1ba8e4b7969e (patch)
tree76aabd166d1d4aec6435c5f99d38233022ea07cf /build
parentda8cff90615dd101722a55ac5f024eb04dbab142 (diff)
parente8a4feb1c646f39ca83c72ae493095c3d37b9eb6 (diff)
Merge pull request #21945 from nextcloud/fix-contact-download-picture
Changed Content-Disposition header to download Contact Photo with correct extension
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/carddav.feature2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/integration/features/carddav.feature b/build/integration/features/carddav.feature
index 57fd8cd7da4..16c165b6bab 100644
--- a/build/integration/features/carddav.feature
+++ b/build/integration/features/carddav.feature
@@ -55,7 +55,7 @@ Feature: carddav
Given "admin" uploads the contact "bjoern.vcf" to the addressbook "MyAddressbook"
When Exporting the picture of contact "bjoern.vcf" from addressbook "MyAddressbook" as user "admin"
Then The following HTTP headers should be set
- |Content-Disposition|attachment|
+ |Content-Disposition|attachment; filename=bjoern.vcf.jpg|
|Content-Type|image/jpeg|
|Content-Security-Policy|default-src 'none';|
|X-Content-Type-Options |nosniff|