get the real physical folder name for anonymous upload
php 5.3 compliant now
proper fix for getting the shared item if no user is logged in
Merge pull request #3951 from owncloud/fixing-3936-master

get the real physical folder name for anonymous upload