JPEG MAIS PLUS SAVOUREUX
This commit is contained in:
parent
3926c3a226
commit
1a5b090f53
1 changed files with 4 additions and 2 deletions
|
@ -43,7 +43,9 @@ function checkFileTypeSecure($filePath) {
|
||||||
'pdf' => '25504446', // PDF files always start with "%PDF" in hex
|
'pdf' => '25504446', // PDF files always start with "%PDF" in hex
|
||||||
],
|
],
|
||||||
'image' => [
|
'image' => [
|
||||||
'jpeg' => 'ffd8ffe0', // JPEG
|
'jpeg0' => 'ffd8ffe0', // JPEG
|
||||||
|
'jpeg1' => 'ffd8ffe1', // JPEG but different you know they like to stand out (exif)
|
||||||
|
'jpeg2' => 'ffd8ffe2', // NO SHIT ??? (jfif or spiff)
|
||||||
'png' => '89504e47', // PNG
|
'png' => '89504e47', // PNG
|
||||||
'gif' => '47494638', // GIF
|
'gif' => '47494638', // GIF
|
||||||
'bmp' => '424d', // BMP
|
'bmp' => '424d', // BMP
|
||||||
|
|
Loading…
Reference in a new issue