diff options
author | Christian Hesse <mail@eworm.de> | 2020-04-24 11:09:02 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-04-24 11:09:02 +0200 |
commit | 14dd16ef5a351c0e9d5c19895ae5d47a57962bf6 (patch) | |
tree | 389e946cc0e852e95645773e3b96d6ccac8b8afa | |
parent | b67712cfe449ee59476e62fa45264a152ca36220 (diff) |
global-functions: $CertificateNameByCN: replace apostrophe
-rw-r--r-- | global-functions | 3 |
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 |