ReakyMark
1 year ago

Laravel mimes validate not fully working. Pleaes help

Posted 1 year ago by ReakyMark

it weird to me. when my validate is ....|mimes:jpeg,jpg,png,gif, I had 2 main file for test: test.htm and test.jpg so i copy test.jpg and rename their extension.

Final file i had

test.html    (html file)
test.jpg       (image file)
test.asd      (image file)

if i upload test.html yes it error wrong mimes. Ok

if i upload image file i copy before and rename their extension to asd. test.asd my validate mimies stop working it let this file pass. what wrong in this ? No error mimes given and pass

Please help Thank in advance.

Please sign in or create an account to participate in this conversation.