Update UrlExtension.php