luci-app-commands: do not escape pipe on cmd line
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
5e7e9b58cf
commit
8120e1d484
@ -144,7 +144,7 @@ local function parse_cmdline(cmdid, args)
|
||||
end
|
||||
|
||||
for i, v in ipairs(argv) do
|
||||
if v:match("[^%w%.%-i/]") then
|
||||
if v:match("[^%w%.%-i/|]") then
|
||||
argv[i] = '"%s"' % v:gsub('"', '\\"')
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user