Query parameter no longer decoded from URI with JBoss EAP 7.4.20+

Solution Verified - Updated -

Issue

  • We have request with query parameters in the URI with encoded values like:
/app/page.jsp?redirect=http:%2F%2Flocalhost%2Fredirectlocation
  • Previously, request.getParameter would return the value decoded as:
http://localhost/redirectlocation
  • But after updating to EAP 7.4.20+, the value returned is not decoded as %2F characters remain in the returned value:
http:%2F%2Flocalhost%2Fredirectlocation

Environment

  • JBoss Enterprise Application Platform (EAP) 7.4.20+

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