Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

cffileupload mime type restriction?

$
0
0

Hello,

 

I'm trying to implement the cffileupload widget and restrict it to only be able to upload image files

you do have an extension filter which can be set to *.jpg, *.png etc.. but the user can still select other file types by using the *.* command in the explorer popup

 

so i tought to restrict it on the actual cffile "upload" tag in the backend, however all files are having the mime type "application/octet-stream" and not image/jpg ..

 

any idea's how to really restrict this tag?

 

maybe it is related to this issue

http://www.elliottsprehn.com/cfbugs/bugs/81254

 

tx


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>