From 81b0568452840bda60cca03572defde9ce7d64b3 Mon Sep 17 00:00:00 2001 From: nnposter Date: Sun, 26 Oct 2025 01:42:15 +0000 Subject: [PATCH] Remove redundant code --- nselib/http.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/nselib/http.lua b/nselib/http.lua index 2defdec91..0384e21a3 100644 --- a/nselib/http.lua +++ b/nselib/http.lua @@ -276,7 +276,6 @@ local function get_quoted_string(s, offset, crlf) -- continuation." So there are really two definitions of quoted-string, -- depending on whether it's in a header field or not. This function does -- not allow CRLF. - c = s:sub(i, i) if c ~= "\t" and c:match("^[\0\001-\031\127]$") then error(string.format("Unexpected control character in quoted-string: 0x%02X.", c:byte(1))) end