Skip to content
Snippets Groups Projects
user avatar
Vincent Petry authored
Until now, addSendfileHeader() was called even when no x-send-file
headers were set. Even though the method itself doesn't do anything,
a call to getLocalFile() was done and would trigger a full download
when using external storage.

Additionally, the storage resolution code is wrong and always
returns the local storage of the root filesystem, which caused the code to
be run anyway.

This commit fixes both issues.
726a202c
History

ownCloud

ownCloud gives you freedom and control over your own data. A personal cloud which runs on your own server.

Build Status on Jenkins CI

Git master: Build Status

Installation instructions

http://doc.owncloud.org/server/5.0/developer_manual/app/gettingstarted.html

Contribution Guidelines

http://owncloud.org/dev/contribute/

Get in touch

Important notice on translations

Please submit translations via Transifex: https://www.transifex.com/projects/p/owncloud/

For more detailed information about translations: http://owncloud.org/dev/translation/