GjjvdBurg / safelinksfixer

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

North american hosts in links are not matched #3

Closed gavanderhoorn closed 4 years ago

gavanderhoorn commented 4 years ago

Seems #1 was not generic enough: I've come across links that don't have eurNN but namNN in the rewritten URL.

Example: https://nam01.safelinks.protection.outlook.com/?url=

Is there a specific reason the eurNN part is included in the regex?

GjjvdBurg commented 4 years ago

Oh that's interesting, looks like it's a geo code. I didn't have a specific reason, mainly that's the only URLs that I saw when I started with it. We can replace it with a simple .* then.