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: jboy...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to