While extracting forms from websites, field names are no longer converted to lowercase (the error was reported by Paulino).

This commit is contained in:
perdo 2012-06-11 09:41:58 +00:00
parent fe5c4c7bad
commit 106c529dd6

View file

@ -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