tracker issue : CF-4203336

select a category, or use search below
(searches all categories and all time range)
Title:

Cookies containing the '@' character are truncated (i.e. those with emails)

| View in Tracker

Status/Resolution/Reason: To Fix//BugVerified

Reporter/Name(from Bugbase): Kevin Wolf / ()

Created: 09/11/2018

Components: Security

Versions: 2016,11.0,13.0

Failure Type: Others

Found In Build/Fixed In Build: 11,0,14,307976 /

Priority/Frequency: Normal / Most users will encounter

Locale/System: English / Win 2012 Server x64

Vote Count: 0

Problem Description:

Attempting to reference a cookie with a value that contains an @ sign is truncated at the @ character.

Steps to Reproduce:

Create a simple cookie, containing an email address, may need to use inspector to ensure cookie value is plaintext and not url-encoded (Cf will by default if used to create cookie).  

Either dumping the cookie struct or referencing the cookie will give truncated value.

i.e.

If there is a cookie named "test" with the value "testname@email.com":

writeOutput( cookie.test );

Actual Result:

testname

Expected Result:

testname@email.com

Any Workarounds:
None at the moment

Attachments:

Comments:

Java version: 1.8.0_161
Comment by Kevin Wolf
29685 | September 11, 2018 10:18:34 PM GMT