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:
parent
d291d6a74d
commit
f27ff0e346
1 changed files with 2 additions and 2 deletions
|
@ -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{}{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue