Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
firefart committed Nov 19, 2023
1 parent fad2a14 commit 0af79ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgobuster/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func (client *HTTPClient) makeRequest(ctx context.Context, fullURL string, opts
// currently only relevant on fuzzing
if len(opts.ModifiedHeaders) > 0 {
for _, h := range opts.ModifiedHeaders {
// empty headers are not valid
// empty headers are not valid (happens when fuzzing the host header for example because the slice is intialized with the provided header length)
if h.Name == "" {
continue
}
Expand Down

0 comments on commit 0af79ea

Please sign in to comment.