mirror of https://github.com/M66B/FairEmail.git
Remove white space from URIs
This commit is contained in:
parent
2b07ec7956
commit
ede2d20ec8
|
@ -4315,8 +4315,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean onOpenLink(final Uri uri, String title, boolean always_confirm) {
|
private boolean onOpenLink(Uri uri, String title, boolean always_confirm) {
|
||||||
Log.i("Opening uri=" + uri + " title=" + title);
|
Log.i("Opening uri=" + uri + " title=" + title);
|
||||||
|
uri = Uri.parse(uri.toString().replaceAll("\\s+", ""));
|
||||||
|
|
||||||
if ("email.faircode.eu".equals(uri.getHost()) && "/activate/".equals(uri.getPath())) {
|
if ("email.faircode.eu".equals(uri.getHost()) && "/activate/".equals(uri.getPath())) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue