Cookie values are quoted or escaped on EAP 7

Solution Verified - Updated -

Issue

  • We set a cookie on the response with a value that includes double quotes or special characters. The whole value returned from the server is enclosed in quotes and the expected quotes in the value are escaped. How can we prevent these cookie value changes?

Environment

  • JBoss Enterprise Application Platform (EAP) 7.x

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.