diff --git a/src/clean_url.js b/src/clean_url.js index 748a0001..41bde8a7 100644 --- a/src/clean_url.js +++ b/src/clean_url.js @@ -25,14 +25,15 @@ const caretPath = (pathname) => { const safeLinks = [ 'safelinks\\.protection\\.outlook\\.com', '\\.protection\\.sophos\\.com', - 'linkprotect\\.cudasvc\\.com' + 'linkprotect\\.cudasvc\\.com', + 'ctp\\.trendmicro\\.com' ] const deSafelink = (urlStr) => { let url = new URL(urlStr) - // O365 Safelinks - if (url.hostname.endsWith('safelinks.protection.outlook.com')) { + // O365 Safelinks & Trendmicro + if (url.hostname.endsWith('safelinks.protection.outlook.com') || url.hostname.endsWith('ctp.trendmicro.com')) { url = new URL(url.searchParams.get('url')) }