IBM Support

IT45156: HTTP POST requests submitted to the MQ REST API (mqweb) without Content-Type header "charset=UTF-8" are processed incorrectly

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

  • When submitting a HTTP POST request to the MQ REST API where the
    data is encoded with UTF-8 bytes then the bytes will be
    incorrectly interpreted as ISO8859-1 when the Content-Type
    header "charset=UTF-8" is omitted.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the MQ REST API. Specifically those submitting HTTP
    POST requests without the "charset=UTF-8" Content-Type header.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When submitting a HTTP POST request to the MQ REST API where the
    data is encoded with UTF-8 bytes then the bytes will be
    incorrectly interpreted as ISO8859-1 when the Content-Type
    header "charset=UTF-8" is omitted.
    

Problem conclusion

  • The MQ REST API will now correctly assume that HTTP POST
    requests contain UTF-8 encoded data even when the Content-Type
    header is not set as such.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 LTS   9.1.0.22
    v9.2 LTS   9.2.0.26
    v9.3 LTS   9.3.0.20
    v9.x CD    9.4.0.0
    
    The latest available maintenance can be obtained from
    'IBM MQ Recommended Fixes'
    https://www.ibm.com/support/pages/recommended-fixes-ibm-mq
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'IBM MQ
    Planned Maintenance Release Dates'
    https://ibm.biz/mqplannedmaintenance
    
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT45156

  • Reported component name

    MQ BASE V9.3

  • Reported component ID

    5724H7291

  • Reported release

    930

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2023-12-18

  • Closed date

    2024-01-17

  • Last modified date

    2024-06-21

  • 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

    MQ BASE V9.3

  • Fixed component ID

    5724H7291

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.3","Line of Business":{"code":"LOB67","label":"IT Automation \u0026 App Modernization"}}]

Document Information

Modified date:
21 June 2024