Skip to content

Commit

Permalink
add t.co to shorturl domain list
Browse files Browse the repository at this point in the history
  • Loading branch information
dic1911 committed Feb 13, 2024
1 parent 622b7b4 commit cf2a82d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/moe/dic1911/urlsanitizer/UrlHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class UrlHandler {
private ArrayList<Uri> urls;
private final BlacklistHandler blh;
private final SharedPreferences prefs;
private static final String[] shorturl = {"bit.ly", "goo.gl", "reurl.cc", "tinyurl.com"};
private static final String[] shorturl = {"bit.ly", "goo.gl", "reurl.cc", "t.co", "tinyurl.com"};

// Pattern for recognizing a URL, based off RFC 3986
private static final Pattern urlPattern = Pattern.compile(
Expand Down

0 comments on commit cf2a82d

Please sign in to comment.