You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Adrian Kaminski (JIRA)" <ji...@apache.org> on 2010/12/01 13:42:10 UTC

[jira] Created: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Wrong text encoding when receiving multipart forms data
-------------------------------------------------------

                 Key: WICKET-3210
                 URL: https://issues.apache.org/jira/browse/WICKET-3210
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Adrian Kaminski


There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl resolved WICKET-3210.
--------------------------------

    Resolution: Fixed
      Assignee: Peter Ertl

@major peter: yeah, stomped over that when working on WICKET-3211 (which is fixed, too, btw). after some deep investigation with help of Igor we added "accept-encoding" to multipart/form-data encoded forms and use the application response-request encoding. This should keep encoding consistent between response and subsequent request and avoid garbled text :-)



> Wrong text encoding when receiving multipart forms data
> -------------------------------------------------------
>
>                 Key: WICKET-3210
>                 URL: https://issues.apache.org/jira/browse/WICKET-3210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Adrian Kaminski
>            Assignee: Peter Ertl
>         Attachments: wicket-3210.tar.gz
>
>
> There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Posted by "Major Peter (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965937#action_12965937 ] 

Major Peter commented on WICKET-3210:
-------------------------------------

It looks like Pete just fixed this with r1041223, or at least the quickstart started to work with trunk.

> Wrong text encoding when receiving multipart forms data
> -------------------------------------------------------
>
>                 Key: WICKET-3210
>                 URL: https://issues.apache.org/jira/browse/WICKET-3210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Adrian Kaminski
>         Attachments: wicket-3210.tar.gz
>
>
> There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965680#action_12965680 ] 

Martin Grigorov commented on WICKET-3210:
-----------------------------------------

Provide quickstart application please

> Wrong text encoding when receiving multipart forms data
> -------------------------------------------------------
>
>                 Key: WICKET-3210
>                 URL: https://issues.apache.org/jira/browse/WICKET-3210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Adrian Kaminski
>
> There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Posted by "Major Peter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Major Peter updated WICKET-3210:
--------------------------------

    Attachment: wicket-3210.tar.gz

Simple quickstart reproducing the issue. Even if the form does not have fileuploadfield, and the setmultipart is called with true, it messes up the encoding.
Note: I tried to create a failing testcase, but it didn't failed, so check the quickstart with a browser.

> Wrong text encoding when receiving multipart forms data
> -------------------------------------------------------
>
>                 Key: WICKET-3210
>                 URL: https://issues.apache.org/jira/browse/WICKET-3210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Adrian Kaminski
>         Attachments: wicket-3210.tar.gz
>
>
> There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WICKET-3210) Wrong text encoding when receiving multipart forms data

Posted by "Peter Ertl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-3210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-3210:
-------------------------------

    Fix Version/s: 1.5-M4

> Wrong text encoding when receiving multipart forms data
> -------------------------------------------------------
>
>                 Key: WICKET-3210
>                 URL: https://issues.apache.org/jira/browse/WICKET-3210
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Adrian Kaminski
>            Assignee: Peter Ertl
>             Fix For: 1.5-M4
>
>         Attachments: wicket-3210.tar.gz
>
>
> There is problem with getting data from multipart forms in proper encoding (e.g. UTF-8). When user puts his national characters in such form,  he gets them messed - more descriptive information: http://www.mail-archive.com/users@wicket.apache.org/msg58119.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.