aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2024-06-01 23:06:24 +0200
committerGravatar Christian Hesse <mail@eworm.de>2024-06-01 23:06:24 +0200
commite35ba4b06ce300b698a8bf684503437961e1343a (patch)
tree2d7d6b796f3bb4992d6646ed66944b4c20713163
parenta97820d12a5833bce5160da674e5085b2882b53a (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)...
-rw-r--r--global-functions.rsc2
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;