Status: Resolved (View Workflow)
Affects Version/s: 4.2.1.008
Railo 4.2, Apache, Tomcat, Centos 6 (64 bit)
Consider this code:
The Railo docs say for the 1st argument:
A variable representing data in Base64-encoded format or a PDF document.
Running that on ACF 9 results in:
The parameter 1 of function ToBinary, which is now ABC 123 must be a base-64 encoded string.
Running it on Railo 4.2 doesn't error and returns a string (the characters aren't printable so can't output it but you can run that code on cflive.net to see the result)
I would expect it to throw an error as the passed in value is not a Base64-encoded string or PDF document.
Originally raised on the mailing list: