Skip to content

Commit

Permalink
bad escape in lua match
Browse files Browse the repository at this point in the history
  • Loading branch information
postwait committed May 18, 2012
1 parent 9a579d2 commit 968ebe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules-lua/noit/module/http.lua
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ end
function populate_cookie_jar(cookies, host, hdr)
if hdr ~= nil then
local name, value, trailer =
string.match(hdr, "([^=]+)=([^;]+)\;?%s*(.*)")
string.match(hdr, "([^=]+)=([^;]+);?%s*(.*)")
if name ~= nil then
local jar = { }
jar.name = name;
Expand Down

0 comments on commit 968ebe7

Please sign in to comment.