Files
nuclei/pkg
Dwi Siswanto 56b6d42723 fix(http): lost request body on retries & redirects (#6666)
* fix(http): lost request body on retries & redirects

Updates the HTTP protocol to use
`(*retryablehttp.Request).SetBodyString` instead
of direct `Body` assignment.

This fixes #6665 where the request body was
dropped during retries or 307/308 redirects
because `GetBody` was not being populated.

Thanks to @zzyjsj for reporting the bug in the
upstream dependency and the hints!

Signed-off-by: Dwi Siswanto <git@dw1.io>

* empty: add co-author

Co-authored-by: zzy <zzyjsj@users.noreply.github.com>
Signed-off-by: Dwi Siswanto <git@dw1.io>

---------

Signed-off-by: Dwi Siswanto <git@dw1.io>
Co-authored-by: zzy <zzyjsj@users.noreply.github.com>
2025-12-06 16:27:57 +07:00
..
2025-09-22 21:49:56 +05:30
2025-12-06 11:19:27 +04:00
2025-09-12 19:03:56 +02:00
2025-10-10 17:32:54 +02:00
2025-12-06 11:19:27 +04:00
2025-12-05 07:32:39 +01:00
2024-03-15 00:01:09 +01:00
2025-11-18 22:20:17 +04:00
2025-10-10 17:32:54 +02:00
2025-10-10 17:32:54 +02:00
2025-11-18 22:20:17 +04:00
2025-12-05 07:22:31 +01:00