diff --git a/mobile/app/src/main/java/org/exarhteam/iitc_mobile/IITC_Mobile.java b/mobile/app/src/main/java/org/exarhteam/iitc_mobile/IITC_Mobile.java index d0c0565e3..afe1e7671 100644 --- a/mobile/app/src/main/java/org/exarhteam/iitc_mobile/IITC_Mobile.java +++ b/mobile/app/src/main/java/org/exarhteam/iitc_mobile/IITC_Mobile.java @@ -1294,7 +1294,7 @@ public boolean isInternalHostname(String hostname) { */ public boolean isGoogleHostname(String hostname) { if (hostname.startsWith("google.") || hostname.contains(".google.")) { - return mGoogleHostnamePattern.matcher(hostname).matches(); + return mGoogleHostnamePattern.matcher(hostname).find(); } return false; }