WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: glassfish 3.1.2 multipart encoding problem.

glassfish 3.1.2 multipart encoding problem.

by forums-8 :: Rate this Message:

| View in Thread

 After glassfish update from 3.0.1 to 3.1.2 I face to problem with incorect
encoding in request parameters.   Please see
http://java.net/jira/browse/GLASSFISH-16740   As I see this Multipart add
parameters with encoding iso-8859-1 no matter what  <parameter-encoding
default-charset="UTF-8"/> declared in glassfish-web.xml   This problem only
in multipart/form so I think it needs to change Multipart.java from  
 parameters.addParameter(partItem.getName(),                    
                        partItem.getString());   because
getString take encoding through multipart content type, but in this case it
must take encoding from Parameters.encoding or coyoteRequest.charEncoding

--

[Message sent by forum member 'arytov']

View Post: http://forums.java.net/node/884266


 « Return to Thread: glassfish 3.1.2 multipart encoding problem.