Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
If a Content-Disposition header is already set by another plugin we don't need to set another one as this breaks clients. Fixes https://github.com/nextcloud/server/issues/1992 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>