You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Rich Feit (JIRA)" <be...@incubator.apache.org> on 2005/06/10 06:39:22 UTC

[jira] Created: (BEEHIVE-803) multipart forms cannot handle multibyte characters

multipart forms cannot handle multibyte characters 
---------------------------------------------------

         Key: BEEHIVE-803
         URL: http://issues.apache.org/jira/browse/BEEHIVE-803
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1    
 Environment: Windows XP
Firefox 1.0.4
Tomcat 5.0.28
    Reporter: Rich Feit
 Assigned to: Rich Feit 
     Fix For: TBD


Repro:
    - Hit the attached page flow: /miniTests/upload/Controller.jpf
    - In the single input field, paste in a multibyte character, like this one:   お

On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").

This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=all ]

Rich Feit updated BEEHIVE-803:
------------------------------

    Fix Version: V1
                     (was: TBD)

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>      Fix For: V1
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=comments#action_12317551 ] 

Julie Zhuo commented on BEEHIVE-803:
------------------------------------

Well, the double byte character lost its apperance in jira. Anyway, it shows up correctly on my system.

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>      Fix For: V1
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Alejandro Ramirez (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=all ]

Alejandro Ramirez reassigned BEEHIVE-803:
-----------------------------------------

    Assign To: Julie Zhuo  (was: Alejandro Ramirez)

Please verify and close.

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>      Fix For: TBD
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=all ]
     
Rich Feit resolved BEEHIVE-803:
-------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Rich Feit)

Fixed with revision 189899.

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Alejandro Ramirez
>      Fix For: TBD
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=all ]
     
Julie Zhuo closed BEEHIVE-803:
------------------------------


Verified with both Explorer and Firfox at rev227121.  The result page shows the following,
Results
Text: 中國

start over

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: v1m1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Julie Zhuo
>      Fix For: V1
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-803) multipart forms cannot handle multibyte characters

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-803?page=all ]

Rich Feit updated BEEHIVE-803:
------------------------------

    Attachment: jira803.zip

Repro page flow.

> multipart forms cannot handle multibyte characters
> --------------------------------------------------
>
>          Key: BEEHIVE-803
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-803
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>  Environment: Windows XP
> Firefox 1.0.4
> Tomcat 5.0.28
>     Reporter: Rich Feit
>     Assignee: Rich Feit
>      Fix For: TBD
>  Attachments: jira803.zip
>
> Repro:
>     - Hit the attached page flow: /miniTests/upload/Controller.jpf
>     - In the single input field, paste in a multibyte character, like this one:   ?
> On the results page, you should see the same character, but you end up with a corrupted string (garbage characters).  This happens with any multipart form (enctype="multipart/form-data"), as long as no character encoding is set (enctype="multipart/form; charset=utf-8").
> This is actually a Struts issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=29668 , but we can add a workaround in our code to prevent it.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira