vlsi commented on code in PR #708:
URL: https://github.com/apache/jmeter/pull/708#discussion_r848014117


##########
src/protocol/http/src/main/java/org/apache/jmeter/protocol/http/proxy/HttpRequestHdr.java:
##########
@@ -189,7 +189,7 @@ public byte[] parse(InputStream in) throws IOException {
         if (log.isDebugEnabled()){
             log.debug("rawPostData in default JRE encoding: {}, Request: '{}'",
                     new String(rawPostData, Charset.defaultCharset()),
-                    clientRequest.toString().replaceAll("\r\n", CRLF));
+                    
clientRequest.toString(Charset.defaultCharset().name()).replaceAll("\r\n", 
CRLF));

Review Comment:
   `StandardCharsets.ISO_8859_1`  seems to be more appropriate here



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to