https://github.com/owncloud/core/pull/6084 - fixed in master - backport pending @icewind1991