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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content