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
Showing
- apps/dav/lib/server.php 0 additions, 13 deletionsapps/dav/lib/server.php
- build/integration/features/bootstrap/WebDav.php 44 additions, 0 deletionsbuild/integration/features/bootstrap/WebDav.php
- build/integration/features/webdav-related.feature 29 additions, 4 deletionsbuild/integration/features/webdav-related.feature
Loading
Please register or sign in to comment