Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Burp (2.1.03) zerorised Content-Length in POST request

Say Hong TAN Sep 19, 2019 03:33AM UTC

Hi,

I noted that Burp v2.1.03

For example, I insert an additional Content-Length header with arbitrary number on a POST request, on the Intercept tab. (Note the POST request had an existing Content-Length: 0 header, so I've inserted another one)

Example
POST ....
....
Content-Length: 0
Content-Length: 9090
...


On the HTTP History tab, the same POST request shows two Content-Length header with both zerorised. That is to say I am seeing the following on the Edited request tab.

Example
POST ....
...
Content Length: 0
Content Length: 0
...

This should not be happening. Will be pleased to submit further documentation if required.

Thanks -


Mike Eaton Sep 20, 2019 09:07AM UTC Support Center agent

Hi, do you have ‘Update content-length’ flag enabled in the ‘Repeater’ menu on the toolbar?

This will automatically adjust the content-length header value to match the body of your request if enabled.


Post Your public answer

Your name
Your email address
Answer