mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-01-31 15:53:10 +08:00
* 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>