Skip to content

Commit 9e55156

Browse files
author
isayan
committed
change ContentLength method
1 parent 68cc5de commit 9e55156

File tree

3 files changed

+1
-1
lines changed

3 files changed

+1
-1
lines changed
-66 Bytes
Binary file not shown.

release/YaguraExtension-v3.1.jar

-66 Bytes
Binary file not shown.

src/main/java/burp/BurpExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1621,7 +1621,7 @@ private ProxyRequestReceivedAction processProxyMessage(InterceptedRequest interc
16211621
if (requestBytes != resultBytes) {
16221622
HttpRequest modifyRequest = ExtensionHelper.httpRequest(interceptedHttpRequest.httpService(), ByteArray.byteArray(resultBytes));
16231623
HttpRequestWapper wrapModifyRequest = new HttpRequestWapper(modifyRequest);
1624-
return ProxyRequestReceivedAction.continueWith(wrapModifyRequest.withUpdateContentLength(), annotations);
1624+
return ProxyRequestReceivedAction.continueWith(wrapModifyRequest.withAjustContentLength(), annotations);
16251625
} else {
16261626
return ProxyRequestReceivedAction.continueWith(interceptedHttpRequest, annotations);
16271627
}

0 commit comments

Comments
 (0)