diff --git a/app/src/main/java/app/fedilab/android/BaseMainActivity.java b/app/src/main/java/app/fedilab/android/BaseMainActivity.java index 7da81ea1..03127838 100644 --- a/app/src/main/java/app/fedilab/android/BaseMainActivity.java +++ b/app/src/main/java/app/fedilab/android/BaseMainActivity.java @@ -308,7 +308,7 @@ public abstract class BaseMainActivity extends BaseActivity implements NetworkSt if (matchStart < matchEnd && sharedText.length() >= matchEnd) url[0] = sharedText.substring(matchStart, matchEnd); } - if (url[0] != null) { + if (url[0] != null && url[0].length() == sharedText.length()) { new Thread(() -> { if (url[0].startsWith("www.")) url[0] = "http://" + url[0];