]> source.dussan.org Git - nextcloud-server.git/commit
Add header for attachment disposition only once
authorLukas Reschke <lukas@owncloud.com>
Tue, 23 Feb 2016 10:54:22 +0000 (11:54 +0100)
committerLukas Reschke <lukas@owncloud.com>
Tue, 23 Feb 2016 11:23:41 +0000 (12:23 +0100)
commitfc2c5fe41420c2c43c6718a5a2e287afde5bdf49
tree6a9a398c3ba30ace50bfe65d9143764bfecb29ce
parent59acc53483bd7c61285fa2495992836c3e00e74b
Add header for attachment disposition only once

Recent refactorings have resulted in the header being added twice, this makes browsers ignore the header which removes any security gains.

This changeset adds the header only once and adds integration tests ensuring the correct header in future.

https://github.com/owncloud/core/issues/22577
apps/dav/lib/server.php
build/integration/features/bootstrap/WebDav.php
build/integration/features/webdav-related.feature