Skip to content

Commit a544805

Browse files
committed
Fix query in reconfig_redirect_opts!
1 parent 22ade4f commit a544805

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/remote/http_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ def reconfig_redirect_opts!(res, opts)
499499
end
500500

501501
# Don't forget any GET parameters
502-
opts['query'] ||= location.query if location.query
502+
opts['query'] = location.query if location.query
503503
end
504504

505505
#

0 commit comments

Comments
 (0)