1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

refactor(sanitizer): remove two useless www. prefixes

No need to have those prefixes, as the check is for substrings, so removing
them will improve the amount of matches.
This commit is contained in:
jvoisin 2025-06-16 12:39:05 +02:00
parent d291d6a74d
commit f27ff0e346

View file

@ -134,8 +134,8 @@ var (
"stats.wordpress.com", "stats.wordpress.com",
"twitter.com/intent/tweet", "twitter.com/intent/tweet",
"twitter.com/share", "twitter.com/share",
"www.facebook.com/sharer.php", "facebook.com/sharer.php",
"www.linkedin.com/shareArticle", "linkedin.com/shareArticle",
} }
validURISchemes = map[string]struct{}{ validURISchemes = map[string]struct{}{