mirror of https://github.com/M66B/FairEmail.git
Sanitize activation links
This commit is contained in:
parent
db91a316c0
commit
201904c13f
|
@ -4763,6 +4763,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
if (isActivate(alt))
|
if (isActivate(alt))
|
||||||
uri = alt;
|
uri = alt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Uri sanitized = UriHelper.sanitize(uri);
|
||||||
|
if (sanitized != null && isActivate(sanitized))
|
||||||
|
uri = sanitized;
|
||||||
} catch (Throwable ignored) {
|
} catch (Throwable ignored) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue