gavanderhoorn / safelinksfixer

Thunderbird add-on to remove ATP Safe Links in Outlook-generated emails
0 stars 0 forks source link

Also filter replies and forwards in text mode #3

Open gavanderhoorn opened 4 years ago

gavanderhoorn commented 4 years ago

Emails being forwarded or replied to with TB in text-only mode do not get filtered, so still contain proofpoint URLs.

This renders emails competely unreadable and should be fixed.

gavanderhoorn commented 4 years ago

Regex that matches just enough of the rewritten URLs:

https:\/\/urldefense\.proofpoint\.com\/v2\/url(?=.*u=([^&]+)|)[[:alnum:]\?=\-&_\.]+\s?