IBM Support

IT35543: THE LOCATION HEADER GETS REWRITTEN IN ANY CASE BY THE LOCATION HEADER REWRITE FEATURE WHEN THE HOST CANNOT BE RESOLVED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The issue with the Location header rewrite feature in MPGW
    service. Even though the host name in the location header does
    not match the backend host name, the location header gets
    rewritten.
    If host & location cannot be resolved, a check if
    the resolution succeed before comparing the 2 addresses is not
    happening and the appliance 'accidentally' thinks they are the
    same.
    
    The logs show:
    ... [0x80e00793][mpgw][info] mpgw(...):
    trans(...)[...] gtid(...): Rewrite the host name and port of
    the URL in Location response header '...' with the host name
    and port of the Host request header value '...'. The value of
    the Location response header URL is rewritten to '...'.
    

Local fix

Problem summary

  • The fix would check if the host in the Location header can be
    resolved by DNS and if not does not rewrite the header.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT35543

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    18X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-01-15

  • Closed date

    2021-03-26

  • Last modified date

    2021-03-26

  • 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

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

  • R18X PSY

       UP

  • RA0X PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"18X"}]

Document Information

Modified date:
29 August 2021