Issue Details (XML | Word | Printable)

Key: JS1-487
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: David Sean Taylor
Reporter: Shinsuke SUGAYA
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed

[PATCH] Encoding problem on DefaultJetspeedParameterParser

Created: 04/Jun/04 01:29 PM   Updated: 26/May/05 12:24 PM
Return to search
Component/s: Miscellaneous
Affects Version/s: 1.5
Fix Version/s: 1.6

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works DefaultJetspeedParameterParser.java.patch 2004-06-04 01:30 PM Shinsuke SUGAYA 0.8 kB
Environment:
Linux
Japanese environment

Resolution Date: 28/Aug/04 11:19 PM


 Description  « Hide
DefaultJetspeedParameterParser applies the following priorities when determining a encoding information of the form data.

  1) the character encoding used in the body of the request.
  2) character-set parameter in media.xreg
  3) content.defaultencoding in JetspeedResources.properties
  4) US-ASCII

I have considered that it is better for Jetspeed to use the encoding used in the requested page. But, for tomcat3 or the compatible one, it seems that ISO-8859-1 is returned in #1. So Jetspeed cannot handle the form data. Therefore #1 should be deleted for fixing this issue.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Shinsuke SUGAYA added a comment - 04/Jun/04 01:30 PM
added patch

David Sean Taylor added a comment - 04/Jun/04 06:09 PM
Patch applied. Please Test and report back if the patch worked or not.

Shinsuke SUGAYA added a comment - 05/Jun/04 04:58 AM
I tested on tomcat 4.1.24 and 3.3.1a. I did not find problems and regressions.
If I find any problems on other container, I'll file a bug and look into it.