ended9월 10일· 1 sources

The Laravel upload check that checks nothing, one word away from the two that work

Why it matters

Here is a file upload check that provides no security at all. if (in_array($file->getClientMimeType(), ['image/jpeg', 'image/png'])) { $file->store('avatars'); } getClientMimeType() returns the Conten...

1
Sources
+0
24h
Growth
11d
Active

Sources

Related Issues