Unwrap Trendmicro URLs

This commit is contained in:
M66B 2021-07-08 22:36:21 +02:00
parent e94a8e1130
commit 5628f15c34
1 changed files with 6 additions and 0 deletions

View File

@ -459,6 +459,12 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
!TextUtils.isEmpty(uri.getQueryParameter("url"))) {
changed = true;
url = Uri.parse(uri.getQueryParameter("url"));
} else if ("https".equals(uri.getScheme()) &&
"smex-ctp.trendmicro.com".equals(uri.getHost()) &&
"/wis/clicktime/v1/query".equals(uri.getPath()) &&
!TextUtils.isEmpty(uri.getQueryParameter("url"))) {
changed = true;
url = Uri.parse(uri.getQueryParameter("url"));
} else if ("https".equals(uri.getScheme()) &&
"www.google.com".equals(uri.getHost()) &&
uri.getPath() != null &&