Version 0 cookies truncated on JBoss Web and Tomcat

Solution Verified - Updated -

Issue

  • An application sets and retrieves version 0 cookies that contain whitespace. The cookie value is being truncated at the whitespace.
  • Cookies are being set by an html meta tag as follows:
    <meta http-equiv="Set-Cookie" content="RH-Test-Cookie=test cookie; charset=ISO-8859-1">
    

Environment

  • JBoss Enterprise Web Server (EWS) Tomcat
  • Red Hat Enterprise Linux (RHEL) Tomcat
  • JBoss Enterprise Application Platform (EAP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.