From 14dd16ef5a351c0e9d5c19895ae5d47a57962bf6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 24 Apr 2020 11:09:02 +0200 Subject: global-functions: $CertificateNameByCN: replace apostrophe --- global-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'global-functions') 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 -- cgit v1.2.3-54-g00ecf