Fixed
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Roman StratulaRoman StratulaPriority
NewNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Roman Stratula
Roman StratulaPriority
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 8 November 2022 at 14:01
Updated 13 December 2022 at 08:33
Resolved 8 November 2022 at 15:20
I got error "Lucee 5.3.9.166 Error (java.nio.charset.UnsupportedCharsetException) Message: binary" when I try to call endpoint with header "Content-Type: application/pdf;charset=binary"
I reproduced this bug:
enpoint.cfm:
<cfcontent reset="true">
<cfcontent file="c:\17797.pdf" type="application/pdf; charset=binary">
caller.cfm
<cfhttp method="GET" url="...enpoint.cfm">
</cfhttp>
throws
lucee.runtime.exp.NativeException: binary at java.base/java.nio.charset.Charset.forName(Charset.java:529) at lucee.commons.io.CharsetUtil.toCharset(CharsetUtil.java:53) at lucee.runtime.tag.Http._doEndTag(Http.java:1144) at lucee.runtime.tag.Http.doEndTag(Http.java:697)`