Skip to content

Commit

Permalink
fix case google.mydomaingoogle.com
Browse files Browse the repository at this point in the history
  • Loading branch information
le-jeu committed Jul 30, 2023
1 parent f824826 commit 44ecdc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public class IITC_Mobile extends AppCompatActivity
private String debugInputStore = "";
private Map<String, String> mAllowedHostnames = new HashMap<>();
private Set<String> mInternalHostnames = new HashSet<>();
private final Pattern mGoogleHostnamePattern = Pattern.compile("google\\.(com\\.|co\\.)?.\\w+$");
private final Pattern mGoogleHostnamePattern = Pattern.compile("(^|\\.)google\\.(com\\.|co\\.)?.\\w+$");

private String mIITCDefaultUA;
private final String mDesktopUA = "Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130810 Firefox/17.0 Iceweasel/17.0.8";
Expand Down

0 comments on commit 44ecdc8

Please sign in to comment.