mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-31 16:24:25 +02:00
global-functions: $CertificateNameByCN: replace apostrophe
This commit is contained in:
parent
b67712cfe4
commit
14dd16ef5a
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@
|
||||||
:global CharacterReplace;
|
:global CharacterReplace;
|
||||||
|
|
||||||
:local Cert [ / certificate find where common-name=$CommonName ];
|
: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
|
# character replace
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue