IBM Support

PI82529: HTTP transport encoding CP943C will be used for jstl params

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • WAS provides default Shift_JIS=Cp943C converter.properties
    file
    to map a Java code set to a IANA charset. Same Cp943C
    encoding
    method is not honored for JSTL params.
    ----------------------------
    Issue:
    <% @ Page contentType = "text / html; charset = Cp943C"
    pageEncoding =
    "Cp943C" language = "java"%>
    ---
    The above method can not be applied.
    Garbled characters do not occur, but "Cp943C" can not be
    used
    with HTTP because it is not registered with IANA.
    
    ---
    <% @ Page contentType = "text / html; charset = windows -
    31J"
    pageEncoding = "Cp943C" language = "java"%>
    ---
    The above method can not be applied.
    
    Since the database uses the character code of Cp943C, a
    difference will be generated
    

Local fix

  • Based on the current concerns with the IANA accepted encodings,
    WAS will also use "converter.properties" for the JSTL params
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - JavaServer Pages (JSP)     *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using the JavaServer Pages         *
    *                      Standard Tag Library (JSTL) param tag   *
    *                      to include parameters to an URL, the    *
    *                      resulting URL safe query string can be  *
    *                      encoded incorrectly if the page         *
    *                      encoding is set to SHIFT_JIS.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a JSP page with page encoding SHIFT_JIS uses the param tag
    from JSTL to specify URL request parameters, an unexpected query
    string will be produced. This query string will cause problems
    at the time of decodification and some characters might not be
    displayed as expected.
    

Problem conclusion

  • The JSTL used by the JSP engine was modified to consistently
    encode the URL parameters with the encoding specified in file
    converter.properties.
    
    The fix for this APAR is currently targeted for inclusion in fix
    packs 7.0.0.45, 8.0.0.15, 8.5.5.13, 9.0.0.6, and 17.0.0.3.
    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

    PI82529

  • Reported component name

    WAS LIBERTY COR

  • Reported component ID

    5725L2900

  • Reported release

    855

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-06-02

  • Closed date

    2017-09-14

  • Last modified date

    2017-09-14

  • 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

    WAS LIBERTY COR

  • Fixed component ID

    5725L2900

Applicable component levels

  • R855 PSY

       UP



Document information

More support for: WebSphere Application Server Liberty Core

Software version: 855

Reference #: PI82529

Modified date: 14 September 2017