Skip to content

Commit

Permalink
change ContentLength method
Browse files Browse the repository at this point in the history
  • Loading branch information
isayan committed May 28, 2024
1 parent 68cc5de commit 9e55156
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified libs/BurpExtensionCommons-v3.2.0.0-all.jar
Binary file not shown.
Binary file modified release/YaguraExtension-v3.1.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/java/burp/BurpExtension.java
Original file line number Diff line number Diff line change
Expand Up @@ -1621,7 +1621,7 @@ private ProxyRequestReceivedAction processProxyMessage(InterceptedRequest interc
if (requestBytes != resultBytes) {
HttpRequest modifyRequest = ExtensionHelper.httpRequest(interceptedHttpRequest.httpService(), ByteArray.byteArray(resultBytes));
HttpRequestWapper wrapModifyRequest = new HttpRequestWapper(modifyRequest);
return ProxyRequestReceivedAction.continueWith(wrapModifyRequest.withUpdateContentLength(), annotations);
return ProxyRequestReceivedAction.continueWith(wrapModifyRequest.withAjustContentLength(), annotations);
} else {
return ProxyRequestReceivedAction.continueWith(interceptedHttpRequest, annotations);
}
Expand Down

0 comments on commit 9e55156

Please sign in to comment.