- Issue created by @kim.pepper
- Merge request !5889Issue #3409904 Fix empty extensions validation logic โ (Open) created by kim.pepper
- Status changed to Needs review
11 months ago 5:23am 20 December 2023 - Status changed to Needs work
11 months ago 5:59am 20 December 2023 - ๐ฆ๐บAustralia kim.pepper ๐โโ๏ธ๐ฆ๐บSydney, Australia
\Drupal\Tests\file\Functional\SaveUploadTest::testHandleFileMunge() tests explicitly:
// Ensure that setting $validators['FileExtension'] = ['extensions' = ''] // rejects all files without munging or renaming.
so I guess my assumptions that empty string and unset 'extensions' key have two different behaviours.
- Status changed to Closed: won't fix
9 months ago 9:58pm 2 March 2024 - ๐ฆ๐บAustralia kim.pepper ๐โโ๏ธ๐ฆ๐บSydney, Australia
I think this can be closed now that the logic in ๐ file_save_upload broken by 10.2.x Needs work has been fixed. We can work on improving the API in ๐ Simplify how 'allow all extensions' file upload validation works Active