bug #46149 Modify processing of uploaded files to be compatible with PHP 8.1 (p-golovin)
bug #46149 Modify processing of uploaded files to be compatible with PHP 8.1 (p-golovin)

This PR was submitted for the 5.4 branch but it was merged into the 4.4 branch instead.

Discussion
----------

Modify processing of uploaded files to be compatible with PHP 8.1

Remove full_path from keys before check
Keep logic the same as in src/Symfony/Component/HttpFoundation/FileBag.php

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Fix #46146
| License       | MIT

Commits
-------

a5cc1e1fd8 Modify processing of uploaded files to be compatible with PHP 8.1

damienalexandre/symfony,paradajozsef/symfony,curry684/symfony,d-ph/symfony,derrabus/symfony,xabbuh/symfony,damienalexandre/symfony,curry684/symfony,stof/symfony,derrabus/symfony,d-ph/symfony,nicolas-grekas/symfony,sgehrig/symfony,symfony/symfony,curry684/symfony,tucksaun/symfony,symfony/symfony,symfony/symfony,stof/symfony,d-ph/symfony,damienalexandre/symfony,sgehrig/symfony,stof/symfony,tucksaun/symfony,xabbuh/symfony,nicolas-grekas/symfony,paradajozsef/symfony,d-ph/symfony,HeahDude/symfony,xabbuh/symfony,stof/symfony,sgehrig/symfony,paradajozsef/symfony,curry684/symfony,HeahDude/symfony,HeahDude/symfony,tucksaun/symfony,tucksaun/symfony,symfony/symfony,HeahDude/symfony,damienalexandre/symfony,derrabus/symfony,sgehrig/symfony,nicolas-grekas/symfony,paradajozsef/symfony,derrabus/symfony,xabbuh/symfony,nicolas-grekas/symfony