> you might try setting the "strict" attribute to false, as a test.
That worked, thanks! On Thu, Apr 11, 2013 at 3:25 PM, Steve 'Cutter' Blades < [email protected]> wrote: > > John, > > I'm not seeing anything right off that should be causing you an issue. > The docs are pretty clear on the "accept" attribute: > > > http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-738f.html > > I did find a note, in the comments of that bit of the docs, that points > out some new bits in the MIME Type handling: > > > http://www.sagarganatra.com/2012/03/coldfusion-10-cffile-restricting-file.html > > In reading that, you might try setting the "strict" attribute to false, > as a test. You could try, as the docs show it, putting a space between > each MIME type. Have you checked Google yet? Might find something there > too. I found this StackOverflow post that mentioned that same excel MIME > type: > > > http://stackoverflow.com/questions/11354070/why-is-coldfusion-server-misinterpreting-an-uploaded-files-mime-type > > Good luck. Let us know what you come up with. > > Steve 'Cutter' Blades > Adobe Community Professional > Adobe Certified Expert > Advanced Macromedia ColdFusion MX 7 Developer > ____________ > http://cutterscrossing.com > > > Co-Author "Learning Ext JS 3.2" Packt Publishing 2010 > > https://www.packtpub.com/learning-ext-js-3-2-for-building-dynamic-desktop-style-user-interfaces/book > > "The best way to predict the future is to help create it" > > On 4/11/2013 3:21 PM, John M Bliss wrote: > > When I remove the "accept" and dump the cffile var, I see: > > > > CONTENTSUBTYPE vnd.ms-excel > > CONTENTTYPE application > > > > ...which means my accept should be good, no? > > > > > > On Thu, Apr 11, 2013 at 2:17 PM, John M Bliss <[email protected]> > wrote: > > > >> Under ACF8, this: > >> > >> <cffile action="upload" accept="text/csv,application/vnd.ms-excel"...> > >> > >> ...would accept CSV files. Under ACF10, it throws, "Only files of type > >> text/csv,application/vnd.ms-excel can be uploaded. Verify that you are > >> uploading a file of the appropriate type." > >> > >> Is that right / known behavior / expected behavior? > >> > >> -- > >> John Bliss - http://about.me/jbliss > >> > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:355396 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

