aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-04-24 11:09:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-04-24 11:09:02 +0200
commit14dd16ef5a351c0e9d5c19895ae5d47a57962bf6 (patch)
tree389e946cc0e852e95645773e3b96d6ccac8b8afa /global-functions
parentb67712cfe449ee59476e62fa45264a152ca36220 (diff)
global-functions: $CertificateNameByCN: replace apostrophe
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/global-functions b/global-functions
index 686b1fa..48e743f 100644
--- a/global-functions
+++ b/global-functions
@@ -124,7 +124,8 @@
:global CharacterReplace;
:local Cert [ / certificate find where common-name=$CommonName ];
- / certificate set $Cert name=[ $CharacterReplace [ $CharacterReplace $CommonName " " "-" ] "---" "-" ];
+ / certificate set $Cert \
+ name=[ $CharacterReplace [ $CharacterReplace [ $CharacterReplace $CommonName "'" "-" ] " " "-" ] "---" "-" ];
}
# character replace