Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Burke Pedersen / Burke Pedersen (Burke Pedersen)
Created: 11/12/2014
Components: Web Container (Tomcat)
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final / CF10 Update16
Priority/Frequency: Critical / Most users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 10
In order to load a pdf using cfcontent, pdf will fail to load when the script name is not included in the url and url paramaters are included.
<cfhefrposition" value="inline;filename=#variables.FileName#" /> (inline vs attachment makes no difference)
<cfcontent type="application/pdf" file="#variables.File#" />
/test/ - works
/test/index.cfm - works
/test/index.cfm?getPDF=1 - works
/test/?getPDF=1 - FAILS
Connection:close response header value there everytime it fails:
Connection:close
Content-Disposition:inline;filename=abcd.pdf
Content-Length:31739
Content-Type:application/pdf;charset=UTF-8
Date:Wed, 12 Nov 2014 20:59:55 GMT
Server:Microsoft-IIS/7.5
Response headers when it works:
Content-Disposition:inline;filename=abcd.pdf
Content-Length:31739
Content-Type:application/pdf;charset=UTF-8
Date:Wed, 12 Nov 2014 20:55:53 GMT
Server:Microsoft-IIS/7.5
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3850990
External Customer Info:
External Company:
External Customer Name: burkep
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: