Status/Resolution/Reason: Closed/Withdrawn/Duplicate
Reporter/Name(from Bugbase): Jason Henley / Jason Henley (Jason Henley)
Created: 07/31/2014
Components: General Server
Versions: 11.0
Failure Type: Non Functioning
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Duplicate ID: CF-3760466
Problem Description: CFContent produces empty (0 byte) PDF document when CFContent is used with a shortened URL, i.e. http://mydomain.com/pdf/?abcd123. It works using the full path, i.e. http://mydomain.com/pdf/index.cfm?abcd123
Steps to Reproduce:
1) Create a valid PDF document on your local drive, ie. C:\mypdf.pdf
2) Update the file /pdf/index.cfm to use the code:
<cfheader name="Content-disposition" value="attachment;filename=mypdf.pdf">
<CFCONTENT type="application/pdf" deleteFile="No" file="C:\mypdf.pdf"><cfabort>
Actual Result: Empty PDF which produces an error.
Expected Result: Actual PDF file.
Any Workarounds: For a workaround, I'm having to use CFLocation with CGI.QUERY_STRING appended to point to a full URL in a different directory, since we have to provide as short of a URL as possible for this request
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3798048
External Customer Info:
External Company:
External Customer Name: jhenley1234
External Customer Email:
External Test Config: My Hardware and Environment details: I've tested on both Windows 7 Professional 64bit and Windows 2008 Server R2 64bit with the same results. Also, I'm not sure if it makes a difference, but URL Rewrite is installed in IIS, although it is not being used for this.
Additional Info:
Server Product ColdFusion
Version 11,0,0,289974
Edition Enterprise
Operating System Windows Server 2008 R2
OS Version 6.1
Adobe Driver Version 5.1.1 (Build 0001)
Java Version 1.7.0_55
Java Vendor Oracle Corporation
Java Vendor URL http://java.oracle.com/
Java Home C:\ColdFusion11\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name
User Home C:\
User Dir C:\ColdFusion11\cfusion\bin
Java VM Specification Version 1.7
Java VM Specification Vendor Oracle Corporation
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 24.55-b03
Java VM Vendor Oracle Corporation
Java VM Name Java HotSpot(TM) 64-Bit Server VM
Java Specification Version 1.7
Java Specification Vendor Oracle Corporation
Java Specification Name Java Platform API Specification
Java Class Version 51.0
Attachments:
Comments: