Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intl 36 eoin fix tld url links #5

Closed
wants to merge 5 commits into from

Conversation

ENuge
Copy link
Contributor

@ENuge ENuge commented Sep 10, 2014

See: INTL-36. This makes the added TLD URLs appear as links, instead of the URL being linked up to the '.com' etc domain.

Note: I only added one test, because it seems from the tests that we're not going for full code coverage of added domains (and I suppose that would be impossible). What works for com.br will also work for the other domains.

@@ -4,7 +4,7 @@
from yelp_uri import RFC3986


domains = r"com|ca|net|org|edu|gov|biz|info|mobi|name|us|uk|fr|au|be|ch|de|es|eu|it|tv|cn|jp"
domains = r"com|ca|net|org|edu|gov|biz|info|mobi|name|us|uk|fr|au|be|ch|de|es|eu|it|tv|cn|jp|ar|cl|hk|br"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should find a way to get a more-canonical list of these since this doesn't currently scale.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, this was meant to be temporary. I haven't really started looking into better changes yet.

@ENuge ENuge closed this Sep 10, 2014
@ENuge ENuge deleted the INTL-36_eoin_fix_tld_url_links branch September 10, 2014 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants