Match more URL fragments

Fixes https://github.com/owncloud/core/pull/11009#issuecomment-56103341
Merge pull request #11171 from owncloud/fix-route

Match more URL fragments