mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-08-13 14:42:29 +02:00
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)...
This commit is contained in:
parent
a97820d12a
commit
e35ba4b06c
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@
|
||||||
|
|
||||||
:for I from=0 to=([ :len $Input ] - 1) do={
|
:for I from=0 to=([ :len $Input ] - 1) do={
|
||||||
:local Char [ :pick $Input $I ];
|
:local Char [ :pick $Input $I ];
|
||||||
:if ([ :typeof [ find "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-" $Char ] ] = "nil") do={
|
:if ([ :typeof [ find "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" $Char ] ] = "nil") do={
|
||||||
:do {
|
:do {
|
||||||
:if ([ :len $Return ] = 0) do={
|
:if ([ :len $Return ] = 0) do={
|
||||||
:error true;
|
:error true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue