owncloud/core — pull request #448 by schiesbn (2012-11-15 09:20:58+00:00)
Title: Fix metadata on upload

if the user uploads a file to a shared folder OC_FileCache::getID and OC_FileCache::get couldn't find the right mime information and file-ID because shared file are not in the file cache.

Therefore I added a function to look up the real path of the file and retrieve the information from it. This fix is only for stable45, on master the new file cache should be able to handle such situations.