Update UrlManager.php
Merge pull request #4921 from slavcodev/patch-1

Update UrlManager