diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-05-12 04:12:24 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-05-12 04:12:24 +0200 |
commit | 6e662881a75e7edc212734235565c50415dd1198 (patch) | |
tree | f8f2df7a58b202b12907b796d16ad9a6dc7a2633 /lib/httplib.lua | |
parent | 67697f6125466cc76ae07f2757afc7fef5db5e23 (diff) | |
parent | 5bbcb92dce2be398dac702d40b2600b0830e3ec3 (diff) |
Merge branch 'master' of /pub/repo.git/Baltisot
Diffstat (limited to 'lib/httplib.lua')
-rw-r--r-- | lib/httplib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/httplib.lua b/lib/httplib.lua index 26d66bd..9642e11 100644 --- a/lib/httplib.lua +++ b/lib/httplib.lua @@ -59,7 +59,7 @@ function get_cookies(req) local k, v for k, v in pairs(cookie_strings) do - local cname, cvalue = string.match(v, "(%[^=]+)=(.+)") + local cname, cvalue = string.match(v, "([^=]+)=(.+)") if cname then cookies[trim(cname)] = trim(cvalue) end end end |