utils/shell: add + to safe shell characters
`+` does not require escaping in the shell. (Not for Bash and Zsh, at least.)
This commit is contained in:
parent
a5139bb8e2
commit
6b59c032a7
@ -106,7 +106,7 @@ module Utils
|
||||
zsh: "~/.zshrc",
|
||||
}.freeze
|
||||
|
||||
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@~\n])}
|
||||
UNSAFE_SHELL_CHAR = %r{([^A-Za-z0-9_\-.,:/@~+\n])}
|
||||
|
||||
sig { params(str: String).returns(String) }
|
||||
def csh_quote(str)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user