User Tools

Site Tools


doc:appunti:linux:sa:sanitizer

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:sanitizer [2023/01/19 12:08] – [Perl Syntax Warning] niccolodoc:appunti:linux:sa:sanitizer [2023/01/19 12:11] (current) – [Perl Unescaped left brace warning] niccolo
Line 7: Line 7:
 I use it as a personal mail filter in GNU/Linux mail servers, because it can be activated on a per-user basis, by the **Local Delivery Agent** called by **Postfix**. The LDA can be as simple as **procmail** or the more complex **Dovecot LDA with Pigeonhole Sieve Interpreter**. I use it as a personal mail filter in GNU/Linux mail servers, because it can be activated on a per-user basis, by the **Local Delivery Agent** called by **Postfix**. The LDA can be as simple as **procmail** or the more complex **Dovecot LDA with Pigeonhole Sieve Interpreter**.
  
-===== Perl Unescaped left brace warning =====+===== Perl unescaped left brace warning =====
  
-The version included in Debian Bullseye contains a deprecated syntax into the Perl code, which triggers the warning message:+The Sanitizer version included in Debian Bullseye contains a deprecated syntax into the Perl code, which triggers the warning message:
  
 <code> <code>
Line 18: Line 18:
  
 <code perl> <code perl>
-    $score +=  4 while ($buff =~ s/\000(ID="\{[-0-9A-F]+)$/x$1/i);+$score +=  4 while ($buff =~ s/\000(ID="\{[-0-9A-F]+)$/x$1/i);
 </code> </code>
  
 <code perl> <code perl>
-    $score +=  1 while ($buff =~ s/\000(ID="\{[-0-9A-F]+\}"|ThisWorkbook\000|PrivateProfileString)/x$1/i);+$score +=  1 while ($buff =~ s/\000(ID="\{[-0-9A-F]+\}"|ThisWorkbook\000|PrivateProfileString)/x$1/i);
 </code> </code>
  
doc/appunti/linux/sa/sanitizer.txt · Last modified: 2023/01/19 12:11 by niccolo