CompassSecurity / burp-copy-request-response

Burp extension for quickly copying request/response data.
26 stars 17 forks source link

Missing Linebreak when Request Body is present #4

Closed emanuelduss closed 3 years ago

emanuelduss commented 4 years ago

A POST request has no linebreaks after the body (a GET request has 2 linebreaks after the header). This results in missing linebreak before the response header when there is a request body:

POST / HTTP/1.1
Host: compass-security.com
User-Agent: curl/7.72.0
Accept: */*
Content-Length: 14
Content-Type: application/x-www-form-urlencoded
Connection: close

some-post-dataHTTP/1.1 308 Permanent Redirect
Location: https://compass-security.com/
Date: Thu, 29 Oct 2020 08:31:47 GMT
Content-Length: 18
Content-Type: text/plain; charset=utf-8
Connection: close

Permanent Redirect

--> Add linebreaks before response header if there are none.

emanuelduss commented 3 years ago

Fixed in f309b5ed918d2f9d3ee9977aecd1518b0ebb45eb.