Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003032 [Resin] major always 10-30-08 13:48 12-15-08 11:52
Reporter bregnvig View Status public  
Assigned To ferg
Priority normal Resolution no change required  
Status closed   Product Version 3.1.7
Summary 0003032: Problems with danish characters in URLs
Description 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.
Additional Information
Attached Files

- Relationships

- 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>

 

- Issue History
Date Modified Username Field Change
10-30-08 13:48 bregnvig New Issue
10-30-08 14:28 bregnvig Note Added: 0003524
12-15-08 11:52 ferg Note Added: 0003641
12-15-08 11:52 ferg Assigned To  => ferg
12-15-08 11:52 ferg Status new => closed
12-15-08 11:52 ferg Resolution open => no change required


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker