Affects Version/s: 184.108.40.206
Fix Version/s: 220.127.116.11
Windows & Linux
I have noticed that the toBase64() function behaves differently between Lucee 5 and all other CF versions - that I have tested - Lucee4.5 , Railo and Adobe CF 10, 11 and 2016.
It returns different values if a number is passed into it rather than a string. For eaxmple, paste the following into https://trycf.com/ :
Lucee 5 outputs:
Everything else outputs:
You can work around this by using toString to force the value to a string, but I guess that this should work in the same way as everything else?