BACK TO DIRECTORY

Mime Type Check for Contact Form 7

by Umar Khan

0.0
(0 ratings)

Mime Type Check for Contact Form 7 plugin is created after a problem arises in CF7 file upload validation, CF7 is a widely used plugin but there was a problem in validation of file mime type. The CF7 validation was only validating the file on the extension

  • File type changes by renaming it to allowed types in operating system as shown in screenshot
  • Uploaded using CF7 upload and it was uploaded susscessfully.
  • Installed the plugin and now file is validating on mime type. Renamed allwoed extensions are not catered.

Screenshots

This screen shot is showing how we can change the file type extension but not the mime type

This screen shot is showing how we can change the file type extension but not the mime type

Plugin Details

Active Installs
20
Total Downloads
1,575
Version
1.0.0
Requires WP
5.7
Requires PHP
7.0
Tested Up To
5.8.15
Added
2021-10-10
Last Updated
2021-10-10 5:39am GMT

Ratings

5
0
4
0
3
0
2
0
1
0