Page MenuHomePhabricator

Family.from_url() fails if multiple sites have different paths but same domain
Open, HighPublicBUG REPORT


wowwiki is a SubdomainFamily. After moving the domain from to all sites has the same domain and but the paths are different like


using the script path.

Family.from_URL() doesn't work in this case because self._hostname(code)[1] == parsed.netloc always match for different sites and the method fails.

See family_tests.TestFamilyUrlRegex.test_each_family