diff --git a/lib/msf/core/exploit/remote/http_client.rb b/lib/msf/core/exploit/remote/http_client.rb index 4d578e6b85f7..b3febbc7ebf6 100644 --- a/lib/msf/core/exploit/remote/http_client.rb +++ b/lib/msf/core/exploit/remote/http_client.rb @@ -499,7 +499,7 @@ def reconfig_redirect_opts!(res, opts) end # Don't forget any GET parameters - opts['query'] ||= location.query if location.query + opts['query'] = location.query if location.query end #