owncloud/core — pull request #12264 by LukasReschke (2014-11-18 16:15:33+00:00)
Title: Use full path instead of only the filename

$file only contains the filename and not the absolute path, that means that files in a subdirectory will not get properly resolved and an empty filesize is returned.

This feature only exists on master. - I'll investigate if I can write an unit test for that.

@PVince81 As discussed