Status/Resolution/Reason: Closed/Withdrawn/Workaround
Reporter/Name(from Bugbase): H. SCHERG / H. SCHERG ()
Created: 07/06/2017
Versions: 2016,11.0,10.0,2018
Failure Type: Data Corruption
Found In Build/Fixed In Build: 310739 /
Priority/Frequency: Normal / Some users will encounter
Locale/System: German / Win 2012 Server x64
Vote Count: 0
Problem Description:
ColdFusion 10 Update 23
Using a cookies in a mixed application (CF and non CF applications, like enterprise portal or shop systems), we faced the problem, that CF does not handle some cookies correctly.
e.g.:
mycookie=1234=
CF seems to strip of the '=' character
Due to latest RFC '=' should be a valid character in a cookie value text.
see: RFC 6265 Sect. 5.2
>>>>>
4. If the cookie-av string contains a %x3D ("=") character:
The (possibly empty) attribute-name string consists of the
characters up to, but not including, the first %x3D ("=")
character, and the (possibly empty) attribute-value string
consists of the characters after the first %x3D ("=")
character.
Otherwise:
The attribute-name string consists of the entire cookie-av
string, and the attribute-value string is empty.
<<<<<
This assumes that '=' characters in the value part (after the first '=' are valid characters).
Steps to Reproduce:
can be reporoduced via any set cookie containing e.g. "=" at the end of the cookievalue.
1. send cookie mycookie=12345= to CF application
2. read cookie in CF
3. cookie vlaue is 12345
Actual Result:
Expected Result:
read cookie value should be "12345="
Any Workarounds:
manual programming
Attachments:
Comments: