Charles Robertson
Charles Robertson

Reputation: 1820

Setting specific file upload mime types in MURA CMS?

Adobe ColdFusion 11/MURA CMS 6

I would like to know where I can set the "accept" attribute of <CFFILE ACTION="upload"> in MURA CMS. I have created a class extension attribute of type "user" and am using a 'file' form field. I would like users to be only able to upload '.pdf' & '.doc' file formats.

For me, just relying on a bit of JavaScript regex as validation, is not good enough, and opens up the server to potential risk.

I would also like to enforce the "strict" attribute in <CFFILE ACTION="upload">, because this actually checks the file type signature and not just the extension.

Upvotes: 0

Views: 213

Answers (0)

Related Questions