filename in CFHeader
I'm using the following to export a CSV file:
<cfheader name="Content-Disposition" value="attachment;filename=download.csv">
<cfcontent type="text/csv" reset="yes"><cfoutput>#variables.output#</cfoutput>
This works fine in IE, but in FF the filename comes out as "download.csv," with a trailing comma, and in Chrome as "download.csv, attachment". Because of this Excel doesn't recognize it. Why is the filename not coming out as instructed? I believe this has worked fine in the past, but not in this particular case.
