Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Maurice Griep / Maurice Griep (MauriceNL)
Created: 12/12/2014
Components: Net Protocols, MAIL
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win All
Vote Count: 2
Problem Description:Since the upgrade to CF Update 14 e-mail attachment names are incorrect. This only seems to occur when sending attachments with long file names.
Steps to Reproduce:
1) Create a file with the name: c:\TheQuickBrownFoxJumpedOverTheLazyFenceTheQuickBrownFoxJumpedOverTheLazyFence.txt
2) Run the following CFM script
<cfset strDestination = "C:\TheQuickBrownFoxJumpedOverTheLazyFenceTheQuickBrownFoxJumpedOverTheLazyFence.txt">
<cfmail to="john.doe@company.com" from="NoReply@company.com" subject="Test Mail">
<cfmailparam file="#strDestination#" disposition="attachment">
</cfmail>
<cfoutput>Mail sent</cfoutput>
3) In the resulting e-mail the name of the attachment is incorrect:
TheQuickBrownFoxJumpedOverTheLazyFenceTheQuickBrownFoxJumpedOverTheLazyFence.txteQuickBrownFoxJumpedOverTheLazyFence.txt
Actual Result:
TheQuickBrownFoxJumpedOverTheLazyFenceTheQuickBrownFoxJumpedOverTheLazyFence.txteQuickBrownFoxJumpedOverTheLazyFence.txt
Expected Result:
TheQuickBrownFoxJumpedOverTheLazyFenceTheQuickBrownFoxJumpedOverTheLazyFence.txt
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3868520
External Customer Info:
External Company:
External Customer Name: MauriceNL
External Customer Email:
External Test Config: My Hardware and Environment details:
Coldfusion 10 update 14 on IIS Windows Server 2012 R2
Attachments:
Comments: