add missing fedi url format

This commit is contained in:
sk
2022-12-22 15:35:26 +01:00
committed by LucasGGamerM
parent a2302ad318
commit 84d213bdd1

View File

@@ -721,6 +721,7 @@ public class UiUtils{
it.matches("^/p/\\w+/\\d+$") || it.matches("^/p/\\w+/\\d+$") ||
it.matches("^/\\w+$") || it.matches("^/\\w+$") ||
it.matches("^/@[^/]+/statuses/[a-zA-Z0-9]+$") || it.matches("^/@[^/]+/statuses/[a-zA-Z0-9]+$") ||
it.matches("^/users/[^/]+/statuses/[a-zA-Z0-9]+$") ||
it.matches("^/o/[a-f0-9]+$"); it.matches("^/o/[a-f0-9]+$");
} }