Details
-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
2.3.4.Final
-
None
-
None
Description
InputPart.getHeaders() returns the list of headers for the given input part. However, the charset used for encoding the header values is not respected.
The 'Content-Disposition' header of a multipart/form-data request may specific a parameter 'charset'. The headers of the body parts should be parsed using this charset.
For example, in a file upload using a multipart/form-data request the file name is specified as parameter 'filename' of the body part's 'Content-Disposition' header. Since the header encoding is not respected, Non-ASCII characters in the filename are not handled properly.
Attachments
Issue Links
- is duplicated by
-
RESTEASY-1259 Make it able to parse multipart headers in encoding other than US-ASCII
- Open