Mantis - Resin
Viewing Issue Advanced Details
6069 minor always 07-06-17 05:04 07-10-17 15:09
marc82ch  
ferg  
normal  
closed 4.0.53  
fixed  
none    
none 4.0.54  
0006069: response.encodeRedirectURL strips Unicode characters > 32768
When a URL passed to response.encodeRedirectURL(url) is passed that contains a character from a unicode block higher than decimal 32768, the character is stripped, possibly making the whole URL corrupt.

Example character is \u8981 (&35201;).
The respective code fragment is in HttpServletResponseImpl.java in the private String escapeUrl(String path, boolean isLatin1) method.

Solution would be to also handle higher block Unicode characters correctly by extending the if-else block.

Notes
(0006768)
ferg   
07-10-17 15:09   
server/081b