IBM Support

IT38921: HTTPCLIENT.GETMETHOD(URI, TRUE) OR .GETMETHOD(URI) NOT ENCODINGCHARS CORRECTLY.

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

  • The HttpClient.getMethod(uri, true) or .getMethod(uri) method
    call is suppose to encode the uri string prior to making the
    http call. For example, change "my server" to "my%20server".
    However this does not work properly. Instead, "my server" is
    encoded as "my%2520server". It appears that the encode process
    first converts the space to %20, then converts the percent sign
    to %25. It should be the other way around. Additionally, if you
    pass an already encoded uri, for example from the results of a
    previous call, the method attempts to encode the already encoded
    string. So "my%20server" is re-encoded as "my%252520server".
    Since encoding is the default option this results in unexpected
    errors when using the .getMethod(uri) method.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    User of IBM App Connect Enterprise V11 and V12 who use HTTP
    Client nodes
    
    
    Platforms affected:
    z/OS, MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    HTTP calls that include spaces, such as 'my server'. will be
    incorrectly encoded as '<span style="background-color:rgb(255,
    255, 255)">my%2520server' instead of 'my%20server'</span>
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT38921

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0550

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-11-01

  • Closed date

    2022-01-20

  • Last modified date

    2022-03-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

    APP CONNECT ENT

  • Fixed component ID

    5724J0550

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B00"}]

Document Information

Modified date:
10 March 2022