owncloud/core — pull request #7902 by PVince81 (2014-03-26 17:18:12+00:00)
Title: Use the correct resolve method to resolve file storage (x-sendfile)

When detecting whether the file to be downloaded is on external storage,
the correct path needs to be used.

It turns out that \OC\Files\View is needed to resolve the path correctly
relative to the user's home.

Please review @icewind1991 @schiesbn @josh4trunks