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.
|
# This is similar to quotemeta() but less aggressive.
|
||||||
# There's no need to escape hyphens, periods, or forward slashes
|
# There's no need to escape hyphens, periods, or forward slashes
|
||||||
# for the shell as these have no special meaning to the shell.
|
# 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;
|
return $arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -249,3 +249,4 @@ Zhou Shen
|
||||||
Zixi Li
|
Zixi Li
|
||||||
أحمد المحمودي
|
أحمد المحمودي
|
||||||
404allen404
|
404allen404
|
||||||
|
Tobias Jensen
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue