krebs lib.shell.escape: add safe chars: +:=
This commit is contained in:
parent
2ef889b1c4
commit
3384dd0a55
@ -6,7 +6,7 @@ with lib;
|
|||||||
rec {
|
rec {
|
||||||
escape =
|
escape =
|
||||||
let
|
let
|
||||||
isSafeChar = c: match "[-./0-9_a-zA-Z]" c != null;
|
isSafeChar = c: match "[-+./0-9:=A-Z_a-z]" c != null;
|
||||||
in
|
in
|
||||||
stringAsChars (c:
|
stringAsChars (c:
|
||||||
if isSafeChar c then c
|
if isSafeChar c then c
|
||||||
|
Loading…
Reference in New Issue
Block a user