Url::base() Not Workilng Since Rc Update?

Well since the update Url::base() does not return anything. Before the update it worked.

I’m a little bit confused now. What should it return when my current URL is doman.tld/sub/hello.php ? “../”?

And what should be user correctly to set the URL for example in a img tag?

Url::base()

or

Yii::$app->getUrlManager()->getBaseUrl()

or

Yii::$app->homeUrl

or

Url::home()

Thank you!

Ok, the correct way would be to use Url::to(’@web/images/logo.gif’);

Still wondering why it worked before the update.