https://bz.apache.org/bugzilla/show_bug.cgi?id=61384

--- Comment #14 from Felix Schumacher <[email protected]> ---
(In reply to Philippe Mouawad from comment #7)
> With attached plan, even If I have set UTF-8 charset, request sent corrupts
> file name:
> POST http://localhost:8081/
> 
> POST data:
> --grIHU42M9gTheYA5QVpw9uJAi6UAsLd8_QhLl
> Content-Disposition: form-data; name="toto"
> 
> titi
> --grIHU42M9gTheYA5QVpw9uJAi6UAsLd8_QhLl
> Content-Disposition: form-data; name="chineseChar"
> 
> 安
> --grIHU42M9gTheYA5QVpw9uJAi6UAsLd8_QhLl
> Content-Disposition: form-data; name="test"; filename="?.jmx"
> Content-Type: text/plain
> 
> <actual file content, not shown here>
> --grIHU42M9gTheYA5QVpw9uJAi6UAsLd8_QhLl--
> 
> 
> [no cookies]
> 
> Request Headers:
> Connection: keep-alive
> Content-Length: 2768
> Content-Type: multipart/form-data;
> boundary=grIHU42M9gTheYA5QVpw9uJAi6UAsLd8_QhLl
> Host: localhost:8081
> User-Agent: Apache-HttpClient/4.5.3 (Java/1.8.0_112)

The file name is part of the header and has to be encoded (using quoted
printable) separately. It is another problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to