Skip to content

Commit

Permalink
fix bug where responses from different http methods would be saved to…
Browse files Browse the repository at this point in the history
… the same file
  • Loading branch information
ErikOwen committed Jul 18, 2023
1 parent 9cf6a13 commit fdc497d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -1623,7 +1623,7 @@ retry:
}

// store responses or chain in directory
domainFile := URL.EscapedString()
domainFile := method + ":" + URL.EscapedString()
hash := hashes.Sha1([]byte(domainFile))
domainResponseFile := fmt.Sprintf("%s.txt", hash)
screenshotResponseFile := fmt.Sprintf("%s.png", hash)
Expand Down

0 comments on commit fdc497d

Please sign in to comment.