nextcloud/lib/private/files/storage
Vincent Petry d6ce45fe61 Correctly read the full stream in file_get_contents
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.
2014-04-01 10:07:16 +02:00
..
wrapper Still return quota value when free space is unknown 2014-03-19 19:07:11 +01:00
common.php Correctly read the full stream in file_get_contents 2014-04-01 10:07:16 +02:00
commontest.php Change default mimetype detection for storage backends to only use filename 2013-11-20 15:25:29 +01:00
home.php Now using the "Home" storage detection approach for quota 2013-11-21 12:17:47 +01:00
loader.php Scrutinizer Auto-Fixes 2014-02-19 09:31:54 +01:00
local.php Merge pull request #7824 from owncloud/hash-parameter-order 2014-03-28 13:06:07 +01:00
mappedlocal.php Merge pull request #7824 from owncloud/hash-parameter-order 2014-03-28 13:06:07 +01:00
storage.php php 5.3 compatibility for \OC\Files\Storage 2013-10-08 23:00:41 +02:00
temporary.php move the private namespace OC into lib/private - OCP will stay in lib/public 2013-09-30 16:36:59 +02:00