diff options
Diffstat (limited to 'applications/luci-app-commands')
-rw-r--r-- | applications/luci-app-commands/luasrc/controller/commands.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-commands/luasrc/controller/commands.lua b/applications/luci-app-commands/luasrc/controller/commands.lua index ca91813b17..433dfa14a0 100644 --- a/applications/luci-app-commands/luasrc/controller/commands.lua +++ b/applications/luci-app-commands/luasrc/controller/commands.lua @@ -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 |