]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
map: disallow commands with \n
authorPetr Špaček <petr.spacek@nic.cz>
Tue, 20 Oct 2020 12:30:40 +0000 (14:30 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 26 Oct 2020 13:25:15 +0000 (14:25 +0100)
commit6246d3a38cb09cd039764c9fc5947d9974ef2fb5
tree924a875e59fa7e1c2c5de2eb0725dd03180e1920
parent9eb440ec44a58c4d9b1eed8034cf49581c172b55
map: disallow commands with \n

Control protocol uses \n as command delimiter so we cannot allow \n
inside commands. Users should be able to Lua-escape \n with \010.
daemon/lua/sandbox.lua.in