So probably modifying the original check:

```ruby
if res and res.code == 200 and res.body =~ /#{sig}/
```

could fix this false positive without introducing the very specific redirection stuff