HTTP 400 errors when percent-encoded slashes (%2F) are sent to JBoss

Solution Unverified - Updated -

Issue

A JAX-RS service is configured with @Path("/a/{path}"), but when we send a request to /a/my%2Fpath it fails with a HTTP 400 error rather than running the method with path set to "my/path".

Environment

  • JBoss Enterprise Application Platform 5
  • JBoss Enterprise Application Platform 6

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