diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2020-09-07 08:40:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-07 08:40:23 +0200 |
commit | 54438c9d2689748f41262e73fb9b1ba8e4b7969e (patch) | |
tree | 76aabd166d1d4aec6435c5f99d38233022ea07cf /build | |
parent | da8cff90615dd101722a55ac5f024eb04dbab142 (diff) | |
parent | e8a4feb1c646f39ca83c72ae493095c3d37b9eb6 (diff) | |
download | nextcloud-server-54438c9d2689748f41262e73fb9b1ba8e4b7969e.tar.gz nextcloud-server-54438c9d2689748f41262e73fb9b1ba8e4b7969e.zip |
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.feature | 2 |
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| |