Mantis - Resin
Viewing Issue Advanced Details
3032 major always 10-30-08 13:48 12-15-08 11:52
bregnvig  
ferg  
normal  
closed 3.1.7  
no change required  
none    
none  
0003032: Problems with danish characters in URLs
When working with Resin 3.0.25 an URL looking like this:

http://localhost:8080/home/user/editUser.do?action=read&previousAction=listParents&userId=hj%f8 [^]

Would result in the user with userId=hj%f8 (In Danish characters hjø) being loaded.

I would extract the userId using this line:

String userId = request.getParameter(Constants.USER_ID);

But when switching to version 3.1.17a this line results in a 'null' being returned. If the userId had instead been 'ba' of something without Danish characters the above line would result in 'ba' being returned and the user being loaded.

Switching back to 3.

Notes
(0003524)
bregnvig   
10-30-08 14:28   
Accidentally submitted it...

I meant Switching back to 3.0.25 fixes the problem.

(I delete all the compiled JSPs between versions)
(0003641)
ferg   
12-15-08 11:52   
The default <url-character-encoding> is UTF-8 (following HTTP recommendations.) It's possible to change the default to use iso-8859-1 by configuring:

  <url-character-encoding>iso-8859-1</url-character-encoding>