Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content-length header is updated no matter what #61

Open
irsdl opened this issue Sep 28, 2022 · 1 comment
Open

Content-length header is updated no matter what #61

irsdl opened this issue Sep 28, 2022 · 1 comment

Comments

@irsdl
Copy link
Contributor

irsdl commented Sep 28, 2022

Here is a request I am trying to send in Stepper but I don't want it to update the CL header:

POST /foo HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, application/x-ms-application, application/xaml+xml, application/x-ms-xbap, */*, text/w42f61mqgg5
Accept-Language: en-GB
Accept-Encoding: gzip, deflate, w42f61mqgg5
Host: b8.ee
Connection: keep-alive
Origin: https://w42f61mqgg5.com
Content-Type: application/x-www-form-urlencoded
Content-Length x: 35

GET /robots.txt HTTP/1.1
X-YzBqv: 

This setting is disabled in config but it's being applied when you view it in Logger:
image

image

@CoreyD97
Copy link
Owner

CoreyD97 commented Mar 1, 2023

Looks like this is caused by the Burp API automatically updating the content-length header when this line is executed:

return Stepper.callbacks.getHelpers().buildHttpMessage(headers, messageBody);

Hopefully the Montoya API doesn't have this problem, but I guess we'll find out when I update this to that API...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants