Match more URL fragments

Fixes https://github.com/owncloud/core/pull/11009#issuecomment-56103341

Lesson learnt: Don't make assumptions. Verify them ;-)

@tobiasKaminsky Please test! - Thanks.