Cookies aren't cased when sent to browser

Description

Hello
The following code:

Gives the following header:

I would have expected it to have used the casing provided?

If I dump out the cookie structure before sending to the browser it (and other cookies) are all in lower case.

Cheers

Ben

Environment

CentOS 6

Activity

Show:
Michael Offner
August 22, 2016, 8:11 AM

this is done for compatibility reasons to other CFML engines. Maybe we could think about an option you can set in the admin.

Adam Tuttle
August 28, 2020, 8:38 PM

Adobe ColdFusion 11 respects the cookie case when used in the array notation as given in the initial bug report. cookie.testing would be set using UCASE but cookie['testing'] would be set using LCASE. So right now this is not compatible.

Assignee

Michael Offner

Reporter

Ben Bluemel

Priority

Minor

Labels

Fix versions

None

Affects versions

Configure