Title:
CF2016 Update 10: Cfmail throwing "the label in the input is too long" error when using long characters in "From\To" address
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): / ()
Created: 03/19/2019
Components: Net Protocols, MAIL
Versions: 2016
Failure Type:
Found In Build/Fixed In Build: 2016,0,10,314028 / CF2016U11
Priority/Frequency: Normal / Few users will encounter
Locale/System: /
Vote Count: 0
Problem: CF2016 Update 10: Cfmail tag throwing "the label in the input is too long" error when using long characters in "From\To" address
Method:
Run the attached sample code.
Result: Error message:
|Stack Trace|
|at cfcfmail2ecfm1597576299.runPage(C:/ColdFusion2016/cfusion/wwwroot/cfmail.cfm:1)
java.lang.IllegalArgumentException: The label in the input is too long at java.net.IDN.toASCIIInternal(IDN.java:340) at java.net.IDN.toASCII(IDN.java:122) at java.net.IDN.toASCII(IDN.java:151) at coldfusion.mail.MailImpl.toIDNEmail(MailImpl.java:560) at coldfusion.mail.MailImpl.setInternetAddress(MailImpl.java:541) at coldfusion.tagext.net.MailTag.validate(MailTag.java:719) at coldfusion.tagext.net.MailTag.processAttributes(MailTag.java:846) at cfcfmail2ecfm1597576299.runPage(C:\ColdFusion2016\cfusion\wwwroot\cfmail.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:254) at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
|
Expected: Should work
Workaround: Works with update 7 and in CF2018 U3. Issue occurs only after installing the latest update 10.
Note:
Attachments:
Comments: