Pretty much what the title says. A user tried uploading an image that was something like 12.13.12.jpg
I believe that’s poor file name formatting anyways. Can’t remember the exact details right now. But I do not allow files of any sort that have a double extension to be uploaded. Too many possibilities for something malicious to happen. Especially when some server configurations allow double extensions, meaning either can be interpreted as the legit file extension. I don’t need anyone trying to upload something like script.php.jpg
Is there any way you can create a warning message or something to that affect that if they try to upload a file with more than one literal period, that they need to rename the file. Message “The file you are trying to upload has more than one literal period/dot in the file name. This is improper format for uploading a file here. Please rename the file with only one literal period/dot so the system can determine if it is an acceptable file.”
Also I tried posting this on your own forums, but every time I try to login, I get a 404 Not Found.
- The topic ‘Way to Prevent Users From Uploading Images With Double Extensions’ is closed to new replies.