Use UrlGenerator in OC\Util::redirectToDefaultPage(). Fix #7936
Sub-dir was prepended twice
Sub-dir was prepended twice
Merge pull request #7939 from owncloud/wring_redirect_on_login

Use UrlGenerator in OC\Util::redirectToDefaultPage(). Fix #7936