Mantis - Resin
Viewing Issue Advanced Details
6198 minor always 11-19-18 02:50 11-19-18 14:18
nam  
ferg  
urgent  
closed 4.0.58  
fixed  
none    
none 4.0.59  
0006198: HttpProxy rewrite filter does not support UTF-8 URLs
(rep by Yoo)

HttpProxy does not support UTF-8 URLs. Filename: &54620;&44544;.txt

1. fails on app-tier proxying to backend: http://localhost:8080/dwp/&54620;&44544;.txt [^]
2. works on backend: http://localhost:8081/dwp/&54620;&44544;.txt [^]

<host id="" root-directory=".">
   <web-app id="/" root-directory="webapps/ROOT">
     <resin:HttpProxy regexp="^/dwp">
       <address>localhost:8081</address>
     </resin:HttpProxy>
   </web-app>
   ...
</host>


Proposed resolution:
1. by default, HttpProxy should use server's <url-character-encoding>
2. (optional) allow configuration of <url-character-encoding> just for HttpProxy


Notes
(0006862)
ferg   
11-19-18 14:18   
server/2s0c