Ref https://github.com/nextcloud/server/pull/565#discussion_r72242105
Ref #565 (comment)