HomePhabricator

Correct Pageview host regexps and tests

Authored by JAllemandou.

Description

Correct Pageview host regexps and tests

Pageview host regexps were incorrect, as well as associated unit tests.
Subdomains to prevent weren't ('www', 'test') and wrong domain ending with known domain (wrongwikipedia.org for instance) were accepted.
Associated unit-tests were incorrect.

Bug: T107764
Change-Id: I98a79625864605dd138299768bc7b3af5b218090