mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix: update regex in headers.lua to capture all characters after the colon
This commit is contained in:
parent
7f7c6ebdc2
commit
687806f4d9
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ function headers:init()
|
|||
if data[srv] == nil then
|
||||
data[srv] = {}
|
||||
end
|
||||
local m = regex_match(value, "([\\w-]+): ([^,]+)")
|
||||
local m = regex_match(value, "([\\w-]+): (.+)")
|
||||
if m then
|
||||
data[srv][m[1]] = m[2]
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue