Update hangup_rx.lua

This commit is contained in:
FusionPBX 2019-06-11 02:58:52 -06:00 committed by GitHub
parent 19791d71f9
commit 8ac8f04872
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@
end end
-- escape shell arguments to prevent command injection -- escape shell arguments to prevent command injection
local function shell_esc(x) local function shell_esc(x)
return ("'"..x:gsub('\\', '\\\\') return ("'"..x:gsub('\\', '\\\\')
:gsub('\'', '\\\'').."'") :gsub('\'', '\\\'').."'")