mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-03 23:20:15 +01:00
nmcli-completion: fix support for embedded quote characters
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/455
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1325
Fixes: 9d2290135c ('cli: make nmcli do its own command completion')
This commit is contained in:
parent
3ce3451040
commit
ebdf3bd376
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ _nmcli()
|
|||
# no quotes in front, escaping _everything_
|
||||
# [ ]bla'bla"bla\bla bla --> [ ]bla\'bla\"bla\\bla\ bla
|
||||
entry="${entry//\\/\\\\}"
|
||||
entry="${entry//\'/\'}"
|
||||
entry="${entry//\'/\\\'}"
|
||||
entry="${entry//\"/\\\"}"
|
||||
entry="${entry// /\\ }"
|
||||
entry="${entry//\(/\\(}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue