Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download file_upload_secure_validator-7.x-2.0.tar.gztar.gz
72.93 KB
MD5: 86fd6340023efee3fa0c449ac3def248
SHA-1: 098ba17f14db56e513b82dc2185848884393da94
SHA-256: ff5dcb532bcc9f2b715517ccad2c3af78b07b467dc9c1cb6ae2ff590b90d8e75
Download file_upload_secure_validator-7.x-2.0.zipzip
76.97 KB
MD5: 249387f2836f588a3ccd751b6a28e847
SHA-1: b80d0abc5799b2efdb6eb2efa1011a5dfdc6b661
SHA-256: c28a2fed5f8d95a3d7985fe5fdc345d1ced265c189d9d1d7e0f8fca293df10b4
Release notes
Refactored the code, excluding the extension validation (we trust core to do this).
This allowed to correct the bug reported in #2861255: [D7] Refactor the extension<=>mime_type logic.
The main check that the module does now is whether the mime-from-extension detection agrees with the mime-from-fileinfo detection.
Also added some unit tests.