diff options
author | Christian Hesse <mail@eworm.de> | 2024-06-01 23:06:24 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2024-06-01 23:06:24 +0200 |
commit | e35ba4b06ce300b698a8bf684503437961e1343a (patch) | |
tree | 2d7d6b796f3bb4992d6646ed66944b4c20713163 /global-functions.rsc | |
parent | a97820d12a5833bce5160da674e5085b2882b53a (diff) |
global-functions: $CleanName: no exception for dash...
... as we still want to deduplicate it when it is inside the input
string. This also unbreak certificate import for "Go Daddy Secure
Certificate Authority - G2" (and more)...
Diffstat (limited to 'global-functions.rsc')
-rw-r--r-- | global-functions.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 96ed71d..447d6e9 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -229,7 +229,7 @@ :for I from=0 to=([ :len $Input ] - 1) do={ :local Char [ :pick $Input $I ]; - :if ([ :typeof [ find "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-" $Char ] ] = "nil") do={ + :if ([ :typeof [ find "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" $Char ] ] = "nil") do={ :do { :if ([ :len $Return ] = 0) do={ :error true; |