Cfcookie not obeying encodevalue=false/no

We have a project we are working to create a cookie in CF that is consumed later by PHP. Challenge is Lucee (latest version) is unfortunately always encoding the cookie even though encodevalue=false or encodevalue="no" is passed in.

It is supposed to be stored like this:

37|Rg2saj7vK5a0NqDORSWp5h9faCsjKEgEnKRg2hSLr5orSMhscG8DIB3wwuTu|$2y$10$sD1UTiv3k4VgJ2eSwj1i9.niUFuRGTk2XlLr6O1xV49rfCgIdGwdK

Lucee is always storing it as this though:

37%7CRg2saj7vK5a0NqDORSWp5h9faCsjKEgEnKRg2hSLr5orSMhscG8DIB3wwuTu%7C%242y%2410%24sD1UTiv3k4VgJ2eSwj1i9.niUFuRGTk2XlLr6O1xV49rfCgIdGwdK

Since I need the cookie to never expire, I need to use cfcookie (instead of cookie.varName).

Yes, I could create some js code to store the cookie instead of Lucee but that seems rather silly when the encodevalue=false directive should work.

Thoughts?

Thanks!
Jeremy

Hi @jab1000,

I’ve tested this lucee doesn’t consider cookie encodedvalue=false it stores as encoded value even if we given encodedvalue=false. Can you raise a ticket in jira. We ill addressed it ASAP.

Jira https://luceeserver.atlassian.net/