Add colon to no escape list, for windows paths
This commit is contained in:
parent
59cb53cfbc
commit
ae87df7a5d
|
@ -256,7 +256,7 @@ sub sh_escape {
|
|||
# This is similar to quotemeta() but less aggressive.
|
||||
# There's no need to escape hyphens, periods, or forward slashes
|
||||
# for the shell as these have no special meaning to the shell.
|
||||
$arg =~ s/([^0-9a-zA-Z_\-\+\=\.\/])/\\$1/g;
|
||||
$arg =~ s/([^0-9a-zA-Z_\-\+\=\.\/:])/\\$1/g;
|
||||
return $arg;
|
||||
}
|
||||
|
||||
|
|
|
@ -249,3 +249,4 @@ Zhou Shen
|
|||
Zixi Li
|
||||
أحمد المحمودي
|
||||
404allen404
|
||||
Tobias Jensen
|
||||
|
|
Loading…
Reference in New Issue