tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55951] New: HTML5 specifies UTF-8 encoding for cookie values
Date Sat, 04 Jan 2014 21:34:01 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55951

            Bug ID: 55951
           Summary: HTML5 specifies UTF-8 encoding for cookie values
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Connectors
          Assignee: dev@tomcat.apache.org
          Reporter: jboynes@apache.org

The HTML5 specification is specifying that cookie values may contain characters
that are not part of US-ASCII or ISO-8859-1 and that those codepoints should be
UTF-8 encoded for display.

http://www.w3.org/html/wg/drafts/html/master/single-page.html#cookie

This will result in 8-bit high values in cookies that need to be accepted and
set.

This will also require special encoding to handle conversion to the UCS-16
characters used by the Java String used to represent the value in the Cookie
class.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message