https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6973
Bug ID: 6973
Summary: google translate redirector_pattern is incomplete
Product: Spamassassin
Version: 3.3.2
Hardware: PC
OS: Windows 7
Status: NEW
Severity: enhancement
Priority: P2
Component: Rules
Assignee: [email protected]
Reporter: [email protected]
Google Translate redirector pattern doesn't cover all of the possible URL's
supported by Google's translation API. Valid URL's include
https?://translate.google.com/translate_[ct]/, but the redirector_pattern
provided with SpamAssassin only matches https://translate.google.com/translate/
A more complete pattern is:
redirector_pattern
m'^http:/*(?:\w+\.)?google(?:\.\w{2,3}){1,2}/translate(_[ct])?\?.*?(?<=[?&])u=(.*?)(?:$|[&\#])'i
--
You are receiving this mail because:
You are the assignee for the bug.