hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-293) Provide support for non-ASCII charsets in the multipart disposition-content header
Date Sat, 30 Sep 2017 21:55:00 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16187219#comment-16187219
] 

ASF subversion and git services commented on HTTPCLIENT-293:
------------------------------------------------------------

Commit a424709d89504aadd7b3d59129902666d79d0c15 in httpcomponents-client's branch refs/heads/master
from [~sermojohn]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=a424709 ]

HTTPCLIENT-293 Implemented the percent encoding of the filename parameter of the Content-Disposition
header based on RFC7578 sections 2 and 4.2. In the new MultipartForm implementation I included
a PercentCodec that performs encoding/decoding to/from the percent encoding as described in
RFC7578 and RFC3986.


> Provide support for non-ASCII charsets in the multipart disposition-content header
> ----------------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-293
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-293
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: HttpClient (classic)
>    Affects Versions: 1.0 Alpha
>         Environment: Operating System: All
> Platform: All
>            Reporter: Eric Dofonsou
>            Priority: Minor
>             Fix For: 4.0 Beta 2
>
>
> Because of the the following line in getAsciiBytes 
>  data.getBytes("US-ASCII");
> The returned string is modified if has Latin Characters.
> Ex : Document non-controlé -> Document non-control?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message