-
Bug
-
Resolution: Done
-
Major
-
7.1.3.GA
-
- url-charset="UTF-8" didn't work in ajp-listener on EAP 7.1 CP3
After upgrade from EAP 7.1.0 to EAP 7.1 CP3, the korean character was broken.
url-charset="UTF-8" in ajp-listeneer seemded NOT work after upgrading.
-
- local test
- JBCS Apache Server - mod_jk - EAP 7.1
- 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>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1. on EAP 7.1.0
1) http://xxx.xxx.xxx.xxx:8080/webapp/한글이름_test.gif (http-listener)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:26:19 +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; rv:61.0) Gecko/20100101 Firefox/61.0" "JSESSIONID=wv7uztmdyV0ljDBqmM9LN9X1I82sPIo8KY5_RDIT.localhost" "" - "default task-13" 0.008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2) http://xxx.xxx.xxx.xxx:8888/webapp/한글이름_test.gif (ajp-listener, port 8888 is the listen port of httpd)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:26:46 +0900] "GET /webapp/한글이름_test.gif HTTP/1.1" 304 - "" "Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0" "JSESSIONID=wv7uztmdyV0ljDBqmM9LN9X1I82sPIo8KY5_RDIT.localhost" "" - "default task-15" 0.001
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2. on EAP 7.1.3
1) http://xxx.xxx.xxx.xxx:8080/webapp/한글이름_test.gif (http-listener)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:46:59 +0900] "GET /webapp/%ED%95%9C%EA%B8%80%EC%9D%B4%EB%A6%84_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" "" "-" - "default task-3" 0.005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2) http://xxx.xxx.xxx.xxx:8888/webapp/한글이름_test.gif (ajp-listener, port 8888 is the listen port of httpd)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:47:08 +0900] "GET /webapp/íê¸ì´ë¦_test.gif HTTP/1.1" 404 68 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "" "-" - "default task-7" 0.004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3. Tested on EAP 7.1 CP1
Same issue with EAP 7.1 CP3, url-charset="UTF-8" didn't work in ajp-listener.
On EAP 7.1.1
1) http://xxx.xxx.xxx.xxx:8080/webapp/한글이름_test.gif (http-listener)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:59:49 +0900] "GET /webapp/%ED%95%9C%EA%B8%80%EC%9D%B4%EB%A6%84_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" "" "-" - "default task-3" 0.006
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2) http://xxx.xxx.xxx.xxx:8888/webapp/한글이름_test.gif (ajp-listener, port 8888 is the listen port of httpd)
[EAP access log]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10.64.168.83 - - [26/Jul/2018:08:59:58 +0900] "GET /webapp/íê¸ì´ë¦_test.gif HTTP/1.1" 404 68 "" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36" "" "-" - "default task-7" 0.005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- is cloned by
-
UNDERTOW-1385 url-charset="UTF-8" didn't work in ajp-listener
- Resolved
- is incorporated by
-
JBEAP-14958 [GSS](7.1.z) Upgrade Undertow from 1.4.18.SP8 to 1.4.18.SP9
- Closed
- is related to
-
JBEAP-15183 [GSS](7.1.z) UNDERTOW-1386 - multibytes language in URL request to ajp-listener are broken in EAP access log.
- Closed
-
JBEAP-15257 [GSS](7.1.z) UNDERTOW-1399 - multibytes language in URL query part of request to ajp-listener is broken
- Closed