getRequestURI now returns jsessionid from URL on EAP 7

Solution Unverified - Updated -

Issue

  • We are upgrading from EAP 6 to EAP 7. But we've found a behavior change in HttpServletRequest.getRequestURI with URL jsessionids that breaks application behavior. In EAP 6, getRequestURI's return did not include the URL jsessionid. But in EAP 7, this does now include the URL jsessionid. Our app does not expect to see the jsessionid in the URI and so this unexpected value now breaks expected request handling and mapping on EAP 7.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

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