Improve Url::sameValueAs method