Automated test for allowed TLDs starts failing when iana.org starts supporting new domain extensions #9977
Labels
c: Tests & QA
For issues related to automated tests or making it easier to QA & test issues.
Milestone
In #9674 we're adding an integration test to check that all currently supported IANA.ORG domain extensions are considered valid by Piwik. This test downloads the list of all domain extensions from: http://data.iana.org/TLD/tlds-alpha-by-domain.txt
Issue
When IANA.ORG adds new domain extensions in this list, our test will start failing, because our Email validator code does not yet handle the new extension... Our email validator has all supported extensions hardcoded in the file libs/Zend/Validate/Hostname.php
From one day to the next, our build can start failing with the error:
(source: https://travis-ci.org/piwik/piwik/jobs/119366743 )
How do we fix this issue?
The text was updated successfully, but these errors were encountered: