mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-11-10 04:01:31 -10:00
Raw requests applied @Host, @tls-sni and @timeout from any matching line of the rendered request, headers and body included. A response value reused in a later request could carry an "@Host:" line and send that request, with its body, to a host the template does not name. The raw parser and the docs already define annotations as the "@" lines before the request line. raw.SplitAnnotations now holds that rule once, and the parser, the request annotations, @once and the compile-time @timeout check all read from it. Fixes: #8061 Signed-off-by: Dwi Siswanto <[email protected]>