Skip to content

Commit

Permalink
add www.reddit.com to consolidation regex #291
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvankooten committed Feb 26, 2025
1 parent bed3dbc commit 9b1e736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/class-pageview-aggregator.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public function normalize_url(string $url): string
'/^https?:\/\/yandex\.ru\/clck.*/' => 'https://yandex.ru',
'/^https?:\/\/yandex\.ru\/search/' => 'https://yandex.ru',
'/^https?:\/\/(?:[a-z-]{1,32}\.)?search\.yahoo\.com\/(?:search)?[^?]*(.*)/' => 'https://search.yahoo.com/search$1',
'/^https?:\/\/(out|new|old)\.reddit\.com(.*)/' => 'https://reddit.com$2',
'/^https?:\/\/(out|new|old|www)\.reddit\.com(.*)/' => 'https://reddit.com$2',
'/^https?:\/\/(?:[a-z0-9]{1,8}\.)+sendib(?:m|t)[0-9]\.com.*/' => 'https://www.brevo.com',
];

Expand Down

0 comments on commit 9b1e736

Please sign in to comment.