Affects Version/s: 188.8.131.52
Fix Version/s: 184.108.40.206
Windows & Linux
Sprint:May 2018 Sprint
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?