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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue