mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
o Fix a bug in the NSE http library which would cause some scripts to
give the error: SCRIPT ENGINE: C:\Program Files\Nmap\nselib/http.lua:77: attempt to call field 'parse' (a nil value) [Jah] Also added Win2K dependencies section to nmap-install (I should have done a separate checkin for that)
This commit is contained in:
@@ -73,8 +73,8 @@ end
|
||||
-- @param url The url of the host.
|
||||
-- @param options Options passed to http.get.
|
||||
-- @see http.get
|
||||
get_url = function(url, options )
|
||||
local parsed = url.parse( url )
|
||||
get_url = function( u, options )
|
||||
local parsed = url.parse( u )
|
||||
local port = {}
|
||||
|
||||
port.service = parsed.scheme
|
||||
|
||||
Reference in New Issue
Block a user