diff options
author | Steven Barth <steven@midlink.org> | 2008-11-06 17:34:46 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-11-06 17:34:46 +0000 |
commit | 0969279c41a31733a4c1b6c9a9fa769a6bbc7ee9 (patch) | |
tree | 951e880cfb3528e686d5abdc6fc76d85b6e226b7 /libs | |
parent | 16bb2907a2c85ffe477736cf1a1585bdcf9d264d (diff) |
Interet Suxplorer sends invalid HTTP-headers, ignore them
Diffstat (limited to 'libs')
-rw-r--r-- | libs/http/luasrc/http/protocol.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/http/luasrc/http/protocol.lua b/libs/http/luasrc/http/protocol.lua index e0c15015b2..cd482a94fc 100644 --- a/libs/http/luasrc/http/protocol.lua +++ b/libs/http/luasrc/http/protocol.lua @@ -248,7 +248,7 @@ process_states['headers'] = function( msg, chunk ) if chunk ~= nil then -- Look for a valid header format - local hdr, val = chunk:match( "^([A-Z][A-Za-z0-9%-_]+): +(.+)$" ) + local hdr, val = chunk:match( "^([A-Za-z][A-Za-z0-9%-_]+): +(.+)$" ) if type(hdr) == "string" and hdr:len() > 0 and type(val) == "string" and val:len() > 0 |