tracker issue : CF-3850990

select a category, or use search below
(searches all categories and all time range)

coldfusion 10 update 14. failed to load pdf document

| View in Tracker

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:
Date:Wed, 12 Nov 2014 20:59:55 GMT

Response headers when it works:

Date:Wed, 12 Nov 2014 20:55:53 GMT

----------------------------- 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:



This is a big problem for me as I use a coldfusion framework that relies on event get variables. I never include "index.cfm" on any of my requests/links. I think this also impacting application/json calls using cfcontent too, because they now all have a connection:close response header, which only appears when I don't include "index.cfm." I have one server that hasn't been updated and the connection: close header is not there.
Comment by External U.
10127 | November 12, 2014 06:24:55 PM GMT
Please look at this thread for more info: This is clearly a connector issue. I also received a message from @stevewithington from MURA. They have fixed their core to work around this issue. It also appears to be an issue with the connector in CF11. The problem is that the connection closes prematurely before delivering the content.
Vote by External U.
10129 | November 19, 2014 02:38:30 AM GMT
I want to log several things when users fetch images from my server. Instead of i have to show the the link That also creates troubles with <src> elements
Vote by External U.
10130 | November 19, 2014 02:55:56 AM GMT
I can confirm this bug with the connector, because this issue begins to occur once the connector is reconfigured after installing update 14. Additionally it does not depend on the file-type. This issue occures with all file-types (images, offices files, etc..) which are returned with the <cfcontent> tag.
Vote by External U.
10131 | November 19, 2014 03:16:12 AM GMT
Same problem after upgrading to CF10 u14.
Vote by External U.
10132 | November 19, 2014 06:38:21 AM GMT
We are also seeing this issue after applying update 14. This also appears to break image upload functionality in Mango Blog if url rewriting is in place.
Vote by External U.
10133 | November 19, 2014 09:53:54 AM GMT
I have seen this exact same issue on my web server, and use this to provide documents in a secure fashion to my users.
Vote by External U.
10134 | November 19, 2014 10:08:30 AM GMT
Experienced this bug and had to redesign how my website was working to use this version of coldfusion
Vote by External U.
10135 | November 19, 2014 10:55:50 AM GMT
We use URL rewriting in a CFWheels environment. A large portion of our PDF generation is done by adding controlling variables to the URL to assist the render. Since we cannot get this working properly on development we cannot update our production servers to take advantage of other update 14 changes.
Vote by External U.
10136 | November 21, 2014 08:57:16 AM GMT
I just ran into this issue: CF11 server install on Win Server 2012 (IIS 8)
Vote by External U.
10137 | November 25, 2014 04:49:04 AM GMT
We use cfcontent to serve files to users because we have to do authentication and authorization before serving the files. Now this functionality is not going to work, so my Apps' users cannot download any protected documents until you fix this bug.
Vote by External U.
10138 | December 23, 2014 11:53:22 AM GMT
The fix for this bug is available in the pre-release build of ColdFusion 10 Update 16
Comment by CFwatson U.
10128 | February 20, 2015 09:22:07 AM GMT