EAP 7 provides 302 response instead of 404 for /META-INF or /WEB-INF request

Solution Verified - Updated -

Issue

  • When we request /META-INF or /WEB-INF, a trailing slash 302 redirect is returned instead of a desired 404. We would expect clients have no indication that these directories exist.

Environment

  • JBoss Enteprise Application Platform (EAP)
    • 7.4.2 and earlier

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