Merge branch 'master' of rapid7.github.com:/rapid7/metasploit-framework

bug/bundler_fix
Luke Imhoff 2014-11-12 11:10:48 -06:00
commit ad4ee3cffd
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ module Exploit::Remote::HttpServer
host = "[#{host}]"
end
if datastore['URIPORT']
if datastore['URIPORT'] != 0
port = ':' + datastore['URIPORT'].to_s
elsif (ssl and datastore["SRVPORT"] == 443)
port = ''