mirror of https://github.com/M66B/FairEmail.git
IDN links are not suspicious
This commit is contained in:
parent
75e17c6d69
commit
5fd38d56f5
|
@ -406,7 +406,7 @@ public class FragmentDialogOpenLink extends FragmentDialogBase {
|
||||||
if (host != null && !host.equals(puny)) {
|
if (host != null && !host.equals(puny)) {
|
||||||
etLink.setText(format(uri.buildUpon().encodedAuthority(puny).build(), context));
|
etLink.setText(format(uri.buildUpon().encodedAuthority(puny).build(), context));
|
||||||
tvLink.setText(uri.toString());
|
tvLink.setText(uri.toString());
|
||||||
tvSuspicious.setVisibility(View.VISIBLE);
|
tvSuspicious.setVisibility(View.GONE);
|
||||||
} else {
|
} else {
|
||||||
etLink.setText(format(uri, context));
|
etLink.setText(format(uri, context));
|
||||||
tvLink.setText(null);
|
tvLink.setText(null);
|
||||||
|
|
Loading…
Reference in New Issue