strip: replaced wtmc and wt_zmc with wt_?

This commit is contained in:
tastytea 2018-06-09 20:47:00 +02:00
parent cfec84d455
commit f70b5f1a82
Signed by: tastytea
GPG Key ID: 59346E0EA35C67E5
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.7)
project (expandurl-mastodon
VERSION 0.9.5
VERSION 0.9.6
LANGUAGES CXX
)

View File

@ -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
}};