tracker issue : CF-3988461

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

CFHTTP strips out certain file properties on .docx files

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Tyler Hansen / Tyler Hansen (Tyler Hansen)

Created: 05/14/2015

Components: Net Protocols, HTTP

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Normal / All users will encounter

Locale/System: ALL / Windows 8.1/64bit

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on September 02, 2019 using build 2016.0.01.298513
Problem Description:

When using CFHTTP to post a .docx files, when opening the file after the post Word will show a message the the file is corrupt. The file is restorable when clicking yes when prompted to fix the file.  Upon comparing the file before upload, and the file after upload, there are multiple file properties missing from the uploaded file.  

Steps to Reproduce:
Upload CFC: 

<cfhttp url="" method="post">
    <cfhttpparam type="file" name="user_file" file="C:\ColdFusion9\wwwroot\test.docx" />

Handler: catch.cfm:

<cffile destination="C:\ColdFusion9\wwwroot\tempDisk\"

Actual Result:

corrupt docx file, with missing properties

Expected Result:
same docx file with no missing properties

Any Workarounds:

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

Watson Bug ID:	3988461

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



I believe this also happens with .xlsx files as well. We have double checked the server MIME types to make sure the new formats are listed. I have seen this problem in both CF9 and CF11, I have not tested CF10. Happens on both Windows 8.1 install and linux.
Comment by External U.
7433 | May 14, 2015 07:48:41 PM GMT
Fix would be included for ColdFusion 11 Hotfix 9.
Comment by Krishna R.
7434 | April 28, 2016 10:54:37 PM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
31259 | September 02, 2019 07:31:07 AM GMT