Update hangup_rx.lua
This commit is contained in:
@@ -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('\'', '\\\'').."'")
|
||||||
|
|||||||
Reference in New Issue
Block a user