IBM Support

PI76271: CORS does not handle requests with PATCH methods correctly

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • CORS does not handle requests with PATCH methods correctly
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty that configured Cross-origin *
    *                  resource sharing (CORS)                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: Incoming HTTP requests with PATCH HTTP  *
    *                      methods are ignored by the cross-origin *
    *                      resource sharing (CORS) handler         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Cross-origin resource sharing (CORS) can be configured in
    Liberty server's configurations file (server.xml) to allow
    requests with certain HTTP methods. HTTP requests with the PATCH
    HTTP method were ignored by the CORS handling logic and the CORS
    related headers were not added to outgoing responses.
    

Problem conclusion

  • The algorithm to find the request type depending on the request
    headers was corrected to not filter out requests based on their
    HTTP methods.
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 17.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

    PI76271

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-02-08

  • Closed date

    2017-02-16

  • Last modified date

    2017-02-16

  • 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

  • R855 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"855","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
17 June 2020