mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 05:15:24 +00:00
fix #1929
This commit is contained in:
parent
15d547735a
commit
df6c4eea34
@ -119,6 +119,7 @@ func dump(req *generatedRequest, reqURL string) ([]byte, error) {
|
||||
bodyBytes, _ := req.request.BodyBytes()
|
||||
var dumpBody bool
|
||||
if len(bodyBytes) > 0 {
|
||||
dumpBody = true
|
||||
req.request.Request.ContentLength = int64(len(bodyBytes))
|
||||
req.request.Request.Body = ioutil.NopCloser(bytes.NewReader(bodyBytes))
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user