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