Merge pull request #2217 from the-blank-x/supportgemini

Add gemini to the list of url regex protocols
This commit is contained in:
agnostic-apollo
2021-08-11 23:42:20 +05:00
committed by GitHub

View File

@@ -22,6 +22,7 @@ public class UrlUtils {
regex_sb.append("finger|"); // The Finger proto. regex_sb.append("finger|"); // The Finger proto.
regex_sb.append("ftp(?:s?)|"); // The FTP proto. regex_sb.append("ftp(?:s?)|"); // The FTP proto.
regex_sb.append("git|"); // The Git proto. regex_sb.append("git|"); // The Git proto.
regex_sb.append("gemini|"); // The Gemini proto.
regex_sb.append("gopher|"); // The Gopher proto. regex_sb.append("gopher|"); // The Gopher proto.
regex_sb.append("http(?:s?)|"); // The HTTP proto. regex_sb.append("http(?:s?)|"); // The HTTP proto.
regex_sb.append("imap(?:s?)|"); // The IMAP proto. regex_sb.append("imap(?:s?)|"); // The IMAP proto.