IBM Support

PI80786: HTTP 500 IS RETURNED FROM A REQUEST WITH TOO MANY PARENT DIRECTORIES (FORWARD SLASHES) IN THE URL

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • HTTP 500 (server error) is returned from a request with too
    many
    parent directories (forward slashes) in the URL.  The return
    code should be a 400 (invalid request)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - Web Container              *
    ****************************************************************
    * PROBLEM DESCRIPTION: A 500 status code is returned when the  *
    *                      request URI contains more references to *
    *                      a parent directory than allowed         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a request URI contains more references to a parent directory
    than allowed a 500 status code will be returned to the client. A
    400 status code could be expected in this scenario as this is a
    bad request.
    

Problem conclusion

  • The WebContainer code has been modified to set a 400 status code
    in the scenario descried above. A new WebContainer custom
    property needs to be set to true to enable the new behavior.
    
    Name: com.ibm.ws.webcontainer.set400SCOnTooManyParentDirs
    Value: true/false(default)
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 19.0.0.1.  Please refer to the Recommended Updates page for
    delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI80786

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-28

  • Closed date

    2019-01-09

  • Last modified date

    2019-01-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels



Document information

More support for: WebSphere Application Server

Software version: 850

Reference #: PI80786

Modified date: 09 January 2019