From b844caa6cdca563eee8097b43cbc68537f9d160f Mon Sep 17 00:00:00 2001 From: patrik Date: Tue, 15 Mar 2011 21:42:49 +0000 Subject: [PATCH] Changed the way cookie table fields are created in http.lua. This change ensures that attribute names are always treated as lower case. [Patrik] --- nselib/http.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/http.lua b/nselib/http.lua index 6c51b6ccf..df89c0e9a 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -736,7 +736,7 @@ local function parse_set_cookie(s) else value = true end - cookie[name] = value + cookie[name:lower()] = value pos = skip_space(s, pos) end