lib/arachni/spider.rb in arachni-0.4.4 vs lib/arachni/spider.rb in arachni-0.4.5
- old
+ new
@@ -407,10 +407,10 @@
print_status "[HTTP: #{res.code}] #{effective_url}"
if res.redirection? && res.location
@redirects << res.request.url
- location = to_absolute( res.location )
+ location = to_absolute( res.location, res.request.url )
if hit_redirect_limit? || skip?( location )
print_info "Redirect limit reached, skipping: #{location}"
decrease_pending
next
end