mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 12:44:38 +00:00
Fix linkify for valid URLs with ... in the path.
This commit is contained in:
@@ -45,7 +45,8 @@ public class LinkUtilTest_isLegal {
|
||||
{ "cool.localhost", true },
|
||||
{ "localhost", true },
|
||||
{ "https://localhost", true },
|
||||
{ "cool.test", true }
|
||||
{ "cool.test", true },
|
||||
{ "https://github.com/signalapp/Signal-Android/compare/v6.23.2...v6.23.3", true }
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,8 @@ class LinkUtilTest_isValidPreviewUrl(private val input: String, private val outp
|
||||
arrayOf("https://cool.test", false),
|
||||
arrayOf("https://cool.invalid.com", true),
|
||||
arrayOf("https://cool.localhost.signal.org", true),
|
||||
arrayOf("https://cool.test.blarg.gov", true)
|
||||
arrayOf("https://cool.test.blarg.gov", true),
|
||||
arrayOf("https://github.com/signalapp/Signal-Android/compare/v6.23.2...v6.23.3", true)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user