strip: replaced wtmc and wt_zmc with wt_?
This commit is contained in:
parent
cfec84d455
commit
f70b5f1a82
|
@ -1,6 +1,6 @@
|
|||
cmake_minimum_required (VERSION 3.7)
|
||||
project (expandurl-mastodon
|
||||
VERSION 0.9.5
|
||||
VERSION 0.9.6
|
||||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
|
|
|
@ -110,9 +110,8 @@ const void init_replacements()
|
|||
const std::array<const replace_pair, 5> replace_array =
|
||||
{{
|
||||
{ "[\\?&]utm_[^&]+", "" }, // Google
|
||||
{ "[\\?&]wtmc=[^&]+", "" }, // Twitter?
|
||||
{ "[\\?&]wt_?[^&]+", "" }, // Twitter?
|
||||
{ "[\\?&]__twitter_impression=[^&]+", "" }, // Twitter?
|
||||
{ "[\\?&]wt_zmc=[^&]+", "" }, // Twitter?
|
||||
{ "//amp\\.", "//" } // AMP
|
||||
}};
|
||||
|
||||
|
|
Loading…
Reference in New Issue