bug #42380 [HttpFoundation] Don't pass null to strpos() (derrabus)
bug #42380 [HttpFoundation] Don't pass null to strpos() (derrabus)

This PR was merged into the 5.3 branch.

Discussion
----------

[HttpFoundation] Don't pass null to strpos()

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | #41552
| License       | MIT
| Doc PR        | N/A

Passing `null` to `strpos()` triggers a deprecation warning in PHP 8.1. Let's not do that.

Commits
-------

bf9dca3f17 Don't pass null to strpos()

symfony/http-foundation