Answer the question
In order to leave comments, you need to log in
How to avoid security issues when uploading files by url?
At the moment, the functionality of loading images by url is required, before saving it to the server, I check it through this construction:
How correct is this, and how can I avoid holes altogether? @exif_imagetype(Request::input('url')) === false
Answer the question
In order to leave comments, you need to log in
Another getimagesize to use when checking
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question