Explorar el Código

[Minor] Allow '\' in dmarc records

tags/1.4.0
Vsevolod Stakhov hace 7 años
padre
commit
8c3274037b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/plugins/lua/dmarc.lua

+ 1
- 1
src/plugins/lua/dmarc.lua Ver fichero

@@ -61,7 +61,7 @@ local function gen_dmarc_grammar()
lpeg.locale(lpeg)
local space = lpeg.space^0
local name = lpeg.C(lpeg.alpha^1) * space
local sep = lpeg.S(";") * space
local sep = lpeg.S("\\;") * space
local value = lpeg.C(lpeg.P(lpeg.graph - sep)^1)
local pair = lpeg.Cg(name * "=" * space * value) * sep^-1
local list = lpeg.Cf(lpeg.Ct("") * pair^0, rawset)

Cargando…
Cancelar
Guardar