Helmut K. C. Tessarek
3 years ago
No known key found for this signature in database
GPG Key ID: BE0985349D44DD00
1 changed files with
3 additions and
0 deletions
-
src/config.rs
|
|
@ -233,6 +233,9 @@ macro_rules! make_config { |
|
|
|
let mut masked: String = String::new(); |
|
|
|
let mut n = 0; |
|
|
|
for c in value.chars() { |
|
|
|
if c == ',' { |
|
|
|
masked += &c.to_string(); |
|
|
|
} |
|
|
|
if n <= 12 && [':', '/'].contains(&c) { |
|
|
|
masked += &c.to_string(); |
|
|
|
} else { |
|
|
|