[seam-issues] [JBoss JIRA] Created: (JBSEAM-4822) MultipartRequestImpl incorrect parse filename with semicolon

Krzysztof Borgul (JIRA) jira-events at lists.jboss.org
Fri Jul 8 10:04:23 EDT 2011

MultipartRequestImpl incorrect parse filename with semicolon

                 Key: JBSEAM-4822
                 URL: https://issues.jboss.org/browse/JBSEAM-4822
             Project: Seam 2
          Issue Type: Bug
    Affects Versions: 2.2.0.GA
         Environment: Windows XP
            Reporter: Krzysztof Borgul
            Priority: Minor

When I uploaded file with semicolon in name, org.jboss.seam.web.MultipartRequestImpl.parseParams incorrect parse header line: 

Content-Disposition: form-data; name="form:fileUpload"; filename="x;a.txt"

It was split on four parts:

Content-Disposition: form-data

,but should be 

Content-Disposition: form-data

The problem is in the regular expression used as split method parameter. 

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list