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

[GSS](7.1.z) UNDERTOW-1386 - multibytes language in URL request to ajp-listener are broken in EAP access log.

XMLWordPrintable

      After upgrade from EAP 7.1.0 to EAP 7.1 CP3, the Korean characters in request URL are broken and are being logged to access log.
      This problem only occurs in ajp-listener and not in http-listener and is occurring from EAP 7.1 CP1.
      UNDERTOW-1385 solved the processing of utf-8 characters in the request url, but the broken characters are still logged in access log.

      undertow configuration - standalone.xml

      <subsystem xmlns="urn:jboss:domain:undertow:4.0">
      <buffer-cache name="default"/>
      <server name="default-server">
      <ajp-listener name="ajp" socket-binding="ajp" url-charset="UTF-8" record-request-start-time="true"/>
      <http-listener name="default" socket-binding="http" redirect-socket="https" enable-http2="true" record-request-start-time="true"/>
      <https-listener name="https" socket-binding="https" security-realm="ApplicationRealm" enable-http2="true"/>
      <host name="default-host" alias="localhost">
      <location name="/" handler="welcome-content"/>
      <access-log pattern="%h %l %u %t "%r" %s %b "% {i,Referer} " "% {i,User-Agent}" "%{i,COOKIE}" "%{o,SET-COOKIE}" %S "%I" %T"/>
      <filter-ref name="server-header"/>
      <filter-ref name="x-powered-by-header"/>
      <http-invoker security-realm="ApplicationRealm"/>
      </host>
      </server>
      

      > patch info
      Version: 7.1.3.GA
      Cumulative patch ID: jboss-eap-7.1.3.CP
      One-off patches: eap-713-jbeap-15157

      [EAP access_log]

      // (ip:8080/webapp/????_test.gif - 8080 is http listen port)
      10.64.168.83 - - [01/Aug/2018:08:51:48 +0900] "GET /webapp/%ED%95%9C%EA%B8%80%EC%9D%B4%EB%A6%84_test.gif HTTP/1.1" 304 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "JSESSIONID=XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz.localhost" "-" XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz "default task-3" 0.010
      
      // (ip:8888/webapp/????_test.gif - 8888 is apache listen port)
      10.64.168.83 - - [01/Aug/2018:08:51:57 +0900] "GET /webapp/??????? ????_test.gif HTTP/1.1" 200 - "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "JSESSIONID=XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz.localhost" "-" XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz "default task-5" 0.009
      
      // (ip:8888/webapp/????_test.jsp)
      (before applying eap-713-jbeap-15157)
      10.64.168.83 - - [01/Aug/2018:08:56:30 +0900] "GET /webapp/??????? ????_test.jsp HTTP/1.1" 404 100 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "JSESSIONID=XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz.localhost" "-" - "default task-1" 0.043
      
      // (after applying eap-713-jbeap-15157)
      10.64.168.83 - - [01/Aug/2018:08:54:49 +0900] "GET /webapp/??????? ????_test.jsp HTTP/1.1" 200 13 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "JSESSIONID=XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz.localhost" "-" XonMO55-t4oq5yib9H9kwULF9UYX58Q6So4nGYPz "default task-9" 0.001
      

              rhn-support-ivassile Ilia Vassilev
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: