Legacy Knowledge Base
Published Jul. 2, 2025

Sensitive Information disclosed via Application Status 400 Error

Written By

Phil Chapman

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Application Server errors at times may identify software, software versioning and hint at how user input is processed.
    This sample trace to demonstrate was triggered by having invalid characters (namely a set of square brackets '[ ]' ) in a given URL. Tomcat considers the address as malformed.

    HTTP Status 400 – Bad Request
    Type Exception Report
    Message Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
    Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).
    Exceptionjava.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
    org.apache.coyote.http11.Http11InputBuffer.parseRequestLine ....
    org.apache.coyote.http11.Http11Processor.service ....
    org.apache.coyote.AbstractProcessorLight.process ....
    org.apache.coyote.AbstractProtocol$ConnectionHandler.process ....
    org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun ....
    org.apache.tomcat.util.net.SocketProcessorBase.run ....
    java.util.concurrent.ThreadPoolExecutor.runWorker ....
    java.util.concurrent.ThreadPoolExecutor$Worker.run ....
    org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run ....
    java.lang.Thread.run ....
    Note The full stack trace of the root cause is available in the server logs.

Environment

  • [General Information]
    Application Servers in use with DXP 7.0   DXP 7.1   DXP 7.2    DXP 7.3

Resolution

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base