You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following feature has a breaking change for Vapor: #47567
When the request is a favicon.ico the pipeline in vendor/laravel/vapor-core/src/Runtime/HttpKernel::sendRequest will exit and call the terminate() method below. This will try to set a timezone on the requestStartedAt which is still null because the request hasn't been handled yet. This causes a 500 error at the moment.
Possible solution
Easy fix would be to add a null safe operator I guess.
Temporary solution:
Publish vapor config and add 'redirect_favicon' => false,
Steps To Reproduce
See image in description.
Vapor request to example-domain.com/favicon.ico which wants to redirect.
The text was updated successfully, but these errors were encountered:
Laravel Version
10.14.0
PHP Version
8.2
Database Driver & Version
MySQL 8
Description
The following feature has a breaking change for Vapor:
#47567
When the request is a
favicon.ico
the pipeline invendor/laravel/vapor-core/src/Runtime/HttpKernel::sendRequest
will exit and call theterminate()
method below. This will try to set a timezone on therequestStartedAt
which is stillnull
because the request hasn't been handled yet. This causes a 500 error at the moment.Possible solution
Easy fix would be to add a null safe operator I guess.
Temporary solution:
Publish vapor config and add
'redirect_favicon' => false,
Steps To Reproduce
See image in description.
Vapor request to
example-domain.com/favicon.ico
which wants to redirect.The text was updated successfully, but these errors were encountered: