owncloud/core — pull request #701 by blizzz (2012-12-03 23:11:19+00:00)
Title: fix oc-605 resp. #587

It's a backport of @butonic 's commit, because it's already 2 months old i think a pull requests is best.