Burp Suite User Forum

Create new post

Burp (2.1.03) zerorised Content-Length in POST request

Say | Last updated: 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, PortSwigger Agent | Last updated: Sep 20, 2019 09:05AM UTC

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.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.