tracker issue : CF-3760466

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

PDF output truncated by ColdFusion/IIS when passing URL parameters

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): J S / J S (J S)

Created: 05/14/2014

Components: Platform Support

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Unknown

Locale/System: English / Windows 7 SP1 64-bit

Vote Count: 3

Listed in the version Issues Fixed doc
Problem Description:
Attempts to load a template with URL parameters limits output to first ~800 bytes, whereas the same template without URL parameters works correctly.

Only occurs when loading the default document - aka http://localhost/ (default document is index.cfm).

This also seems to be an issue with the IIS -> Tomcat connector with version 11, replacing the isapi_redirect.dll with the CF10 version corrects the problem.

Steps to Reproduce:
Load the following template in a browser, at the server root:


<cfdocument format="pdf">
	hi from index.cfm

Actual Result:
When loading the default document WITHOUT any URL params (http://localhost/), the PDF is rendered correctly.  Inspecting the response shows Transfer-Encoding: chunked

When loading a specific template WITH URL params (http://localhost/index.cfm), the PDF is rendered correctly.  Inspecting the response shows 

When loading WITH URL params (http://localhost/?qwerty=1), the PDF content is truncated.  Inspecting the response shows that Content-Length: 832 and Connection: close

Expected Result:
Regardless of the content length/transfer encoding headers, the output should be the same to the client - an entire, intact PDF.

Any Workarounds:
Replace the CF11 isapi_redirect.dll with the CF10 isapi_redirect.dll

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3760466


External Customer Info:
External Company:  
External Customer Name: dajester2014
External Customer Email:  
External Test Config: My Hardware and Environment details:

* Windows 7 Pro

* IIS 7.5

* ColdFusion 11 64bit, configured for IIS, all websites


  1. May 15, 2014 00:00:00:


I ran some testing on this and found the issue only occurs when the page name is not part of the URL. This also affect cfhtmltopdf. I have an example running on Windows 2012 at
Comment by External U.
12098 | May 16, 2014 06:04:56 AM GMT
+1 This is very problematic and should be resolved.
Vote by External U.
12102 | May 16, 2014 07:39:49 AM GMT
Appears that this issue also affects using cfcontent when combined with cfheader type of content-disposition. Switching to the CF10 connector corrected the problem.
Comment by External U.
12099 | May 27, 2014 10:18:40 PM GMT
PDF was truncated when it was generated using the link with similar format like this: http://ip:port/default_document?query=string Fixed it.
Comment by Milan C.
12100 | October 28, 2014 12:08:33 AM GMT
We use a CMS that has permalinks for all pages. There is no index.cfm file behind an individual page. The bug stops us from being able to deliver files by cfdocument. I see that it is fixed, but I have the most recent updates and the bug is still there.
Vote by External U.
12103 | November 04, 2014 03:43:43 PM GMT
Hi Milan, I've verified this is fixed in CF 11 Update 3 (11,0,03,292024(PreRelease)). Thanks!, -Aaron
Comment by External U.
12101 | November 15, 2014 05:42:56 AM GMT
This is STILL an issue.
Vote by External U.
12104 | December 18, 2015 03:49:27 PM GMT