IBM Support

PM18198: "ALWAYSENCODEURL" WEBCONTAINER CUSTOM PROPERTY IN WEBSPHERE APPLICATION SERVER V6.1

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • "AlwaysEncodeURL" webcontainer custom property in WebSphere
    Application Server V6.1
    
    In Websphere Application Server V6.1, the "AlwaysEncodeURL"
    webcontainer custom property is not available which provides
    the following difference in behavior across Websphere
    Application Server V6.1 and Websphere Application Server V7.0
    with the browsers which support cookies.
    
    1. Websphere Application Server V6.1 (browser cookies supported)
    
    > GET /encodeurl/index.html HTTP/1.1
    
    < Encoded URL:
    /encodeurl/index.html;jsessionid=0000QyAri3YfK6FX4BXQhJt5lUk:-1
    < EncodedRedirected URL:
    /encodeurl/index.html;jsessionid=0000QyAri3YfK6FX4BXQhJt5lUk:-1
    < IsSessionIdFromCookie: true
    < IsSessionIdFromURL: false
    
    5. Websphere Application Server V7.0 (browser cookies
    supported,
    AlwaysEncodeURL = false)
    > GET /encodeurl/index.html HTTP/1.1
    
    < Encoded URL: /encodeurl/index.html
    < EncodedRedirected URL: /encodeurl/index.html
    < IsSessionIdFromCookie: true
    < IsSessionIdFromURL: false
    
    The AlwaysEncodeURL property will be added to V6.1 to accomplish
    similar behavior of Websphere Application Server V7.0 in V6.1
    as well.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  Users on IBM WebSphere Application Server   *
    *                  V6.1 utilizing the encodeURL API with       *
    *                  cookies enabled.                            *
    ****************************************************************
    * PROBLEM DESCRIPTION: If encoding is not needed because       *
    *                      cookies are present, the encodeURL      *
    *                      method still appends the session        *
    *                      identifier.                             *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The Servlet 2.5 specification specifies to not encode the URL
    on a response.encodeURL call if it is not necessary.
    

Problem conclusion

  • A Web Container custom property 'AlwaysEncodeURL' has been
    introduced to disable the encoding of URL's when cookies are
    valid. The default value of this property is true.  By setting
    the property equal to false the encoding of URL's when cookies
    are available is disabled.
    This APAR only applies to V6.1 since this property is
    available in V7.0.
    The fix for this APAR is currently targeted for inclusion in
    fix packss 6.1.0.35. 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

    PM18198

  • Reported component name

    IBM HTTP SERVER

  • Reported component ID

    5724J0801

  • Reported release

    61A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2010-07-12

  • Closed date

    2010-09-10

  • Last modified date

    2010-09-10

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R61A PSY

       UP

  • R61H PSY

       UP

  • R61I PSY

       UP

  • R61P PSY

       UP

  • R61S PSY

       UP

  • R61W PSY

       UP

  • R61Z PSY

       UP

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

Document Information

Modified date:
24 October 2021