IBM Support

JR42286: CMVC 220060 - PREVENT PATTERNSYNTAXEXCEPTION IN HTTPREQUESTWRAPPER WHEN THE URI CONTAINS BRACKETS.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A call to the
    com.ibm.commerce.server.HttpRequestWrapper#getRequestUrl()
    method can cause a java.util.regex.PatternSyntaxException when
    the uri contains brackets.
    

Local fix

Problem summary

  • USERS AFFECTED:
    WebSphere Commerce users on V7 who use parentheses in the URL
    
    PROBLEM ABSTRACT:
    PatternSyntaxException is thrown when the uri contains brackets
    
    BUSINESS IMPACT:
    user is confronted with empty page when product URL contains
    regex symbols
    
    RECOMMENDATION:
    

Problem conclusion

  • In HttpRequestWrapper.getRequestURL(), String.replaceAll(String,
    String) is replaced by String.replace(CharSequence,
    CharSequence) which doesn't do regex.
    -------------------------------------------------------------
    The latest available maintenance information can be obtained
    from the Recommended Fixes for WebSphere Commerce technote:
    http://www.ibm.com/support/docview.wss?rs=3046&uid=swg21261296
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR42286

  • Reported component name

    WC BUS EDITION

  • Reported component ID

    5724I3800

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-03-19

  • Closed date

    2012-06-27

  • Last modified date

    2012-06-27

  • 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

    WC BUS EDITION

  • Fixed component ID

    5724I3800

Applicable component levels

  • R700 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYSYL","label":"WebSphere Commerce Enterprise"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
27 June 2012