IBM Support

LI81127: CONTENT TYPE CHARSET SETTING LOST AFTER REDACTION POLICY

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the Redaction Policy to hide some sensitive
    information the response from gateway looses the content type
    settings in response headers as it is always replaced by
    "application/json".
    Steps to reproduce:
    1- create an API with assembly containing a
    - set variable policy to explicitly set the
    message.headers.content-type to for example
    'application/json; charset=UTF-8'
    - invoke policy with a target such as
    'https://httpbin.org/anything/test'
    - redact policy
    2- check content type. It will be 'application/json' instead of
    'application/json; charset=UTF-8'
    3- remove the redact policy
    4- check content type. It will be application/json;
    charset=UTF-8' as expected.
    

Local fix

Problem summary

  • The redact policy incorrectly removes the charset from the
    content-type when it parses the payload.
    

Problem conclusion

  • <p>A fix will be delivered in the API Connect 5.0.8.8 and
    2018.4.1.8 GA releases.</p>
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81127

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    50X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-10-04

  • Closed date

    2019-10-17

  • Last modified date

    2019-10-17

  • 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

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

  • R50X PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"50X","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021