From 106c529dd6243897f619dfefecf2264a107c44ac Mon Sep 17 00:00:00 2001 From: perdo Date: Mon, 11 Jun 2012 09:41:58 +0000 Subject: [PATCH] While extracting forms from websites, field names are no longer converted to lowercase (the error was reported by Paulino). --- nselib/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/http.lua b/nselib/http.lua index 4a7597c35..c301b402c 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -1798,7 +1798,7 @@ function parse_form(form) local next_field_index = #fields+1 if input_name then fields[next_field_index] = {} - fields[next_field_index]["name"] = string.lower(input_name) + fields[next_field_index]["name"] = input_name if input_type then fields[next_field_index]["type"] = string.lower(input_type) end