Parcourir la source

[Fix] Fix possible FP in TRACKER_ID rule

tags/1.2.7
Vsevolod Stakhov il y a 8 ans
Parent
révision
10b6869575
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      rules/regexp/headers.lua

+ 1
- 1
rules/regexp/headers.lua Voir le fichier

@@ -87,7 +87,7 @@ reconf['SUSPICIOUS_RECIPS'] = 'compare_recipients_distance(0.65)'
reconf['SORTED_RECIPS'] = 'is_recipients_sorted()'

-- Spam string at the end of message to make statistics faults
reconf['TRACKER_ID'] = '/^[a-z0-9]{6,24}[-_a-z0-9]{2,36}[a-z0-9]{6,24}\\s*\\z/isPr'
reconf['TRACKER_ID'] = '/^[a-z0-9]{6,24}[-_a-z0-9]{12,36}[a-z0-9]{6,24}\\s*\\z/isPr'


-- From that contains encoded characters while base 64 is not needed as all symbols are 7bit

Chargement…
Annuler
Enregistrer