Skip to content
Snippets Groups Projects
user avatar
Vincent Petry authored
When using user-defined stream wrappers, PHP will
return a maximum of 8192 bytes even if more was
requested.

This fix uses stream_get_contents to make sure the full stream is read
and not only the first 8 KB.

Added unit test with a bigger test file to cover this case.
d6ce45fe
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

Quality: Scrutinizer Quality Score

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/