Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13750

[GSS](7.2.0) url-charset="MS949" did not work in ajp-listener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 7.1.0.CR3
    • Undertow

      Korean and blank did not printout correctly when the jsp is called with korean parameter (GET method) after applying EAP 7.0 latest CP 8.
      When the jsp was called with http-listener, it was ok. The issue was only in ajp-listener.
      The issue was from EAP 7.0 CP3 - refer to below test case.

      Attached sample application : eap7.war.tar.gz

        • Testcase

      [index.jsp]
      ~~~~~
      <%@ page language="java" contentType="text/html; charset=MS949" pageEncoding="MS949" %>
      <html>
      <head><title>Test App</title>
      </head>
      <body>
      <%

      request.setCharacterEncoding("MS949");
      out.print("param p=[" + request.getParameter("p") + "]");

      %>
      </body>
      </html>
      ~~~~~

      [server.log]
      ~~~~~~~~~~~~~~~~~~~~~~~~~
      [Standalone] =
      awt.toolkit = sun.awt.X11.XToolkit
      file.encoding = MS949
      ...
      ~~~~~~~~~~~~~~~~~~~~~~~~~

      [standalone.xml]
      ~~~~~
      <ajp-listener name="ajp" url-charset="MS949" no-request-timeout="10000" socket-binding="ajp"/>
      <http-listener name="default" url-charset="MS949" socket-binding="http" redirect-socket="https"/>
      ~~~~~

      Browser : Crome, Firefox, IE

      A. EAP 7.0 CP2 (8080) & Apache/2.4.10 (Fedora, 80) with mod_cluster
      http://xx.xx.xx.xx:8080/eap7/index.jsp?p=한 글
      ->
      param p=[한 글]

      http://xx.xx.xx.xx/eap7/index.jsp?p=한 글
      ->
      param p=[한 글]

      B. EAP 7.0 CP3 (8080) & Apache/2.4.10 (Fedora, 80) with mod_cluster
      http://xx.xx.xx.xx:8080/eap7/index.jsp?p=한 글
      ->
      param p=[한 글]

      http://xx.xx.xx.xx/eap7/index.jsp?p=한 글
      ->
      param p=[\%20]

      C. EAP 7.0 CP8 (8080) & Apache/2.4.10 (Fedora, 80) with mod_cluster
      http://xx.xx.xx.xx:8080/eap7/index.jsp?p=한 글
      ->
      param p=[한 글]

      http://xx.xx.xx.xx/eap7/index.jsp?p=한 글
      ->
      param p=[\%20]

            sdouglas1@redhat.com Stuart Douglas
            rhn-support-bmaxwell Brad Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: