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
If there is no "Via" header then call will be deprecated because of null parameter for preg_match
This code branch executed (and deprecation triggered) only for requests from trusted proxies.
Deprecation message Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in vendor/symfony/http-foundation/Request.php on line 1518
The text was updated successfully, but these errors were encountered:
Sorry, maybe later. I am too lazy
But for anyone who more interested it is probably not very hard. You can try to add something like 'trusted with null via' => ['HTTP/2.0', true, null, 'HTTP/2.0'], dataset to protocolVersionProvider in RequestTest
This PR was merged into the 4.4 branch.
Discussion
----------
[HttpFoundation] do not call preg_match() on null
| Q | A
| ------------- | ---
| Branch? | 4.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | Fix#44498
| License | MIT
| Doc PR |
Commits
-------
47298dc do not call preg_match() on null
Uh oh!
There was an error while loading. Please reload this page.
Description
If there is no "Via" header then call will be deprecated because of null parameter for preg_match
This code branch executed (and deprecation triggered) only for requests from trusted proxies.
Deprecation message
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in vendor/symfony/http-foundation/Request.php on line 1518
The text was updated successfully, but these errors were encountered: