Nmap Development mailing list archives

[NSE] Incorrect documentation tag in http.lua


From: nnposter () users sourceforge net
Date: Mon, 18 Aug 2014 17:52:25 +0000

The current version of http.lua contains a trivial bug in the
documentation for parse_form(). Please see the patch below and
the attached screen capture for details.

http://nmap.org/nsedoc/lib/http.html#parse_form


Cheers,
nnposter



Patch against revision 33574 follows:

--- nselib/http.lua.orig       2014-08-18 11:33:49.085157500 -0600
+++ nselib/http.lua    2014-08-18 11:35:39.873972000 -0600
@@ -1904,7 +1904,7 @@
 ---
 -- Parses a form, that is, finds its action and fields.
 -- @param form A plaintext representation of form
--- @return A dictionary with keys: <code>action</action>,
+-- @return A dictionary with keys: <code>action</code>,
 -- <code>method</code> if one is specified, <code>fields</code>
 -- which is a list of fields found in the form each of which has a
 -- <code>name</code> attribute and <code>type</code> if specified.

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: