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

resource/cloudflare_zone: Add unicode support #412

Merged

Conversation

jacobbednarz
Copy link
Member

@jacobbednarz jacobbednarz commented Jul 15, 2019

Introduce unicode support for using zone names and ensure that the
schema comparison is performed after first converting both values to
unicode. This change ensures that the punycode and unicode values are
both stored as the unicode version to match what the Cloudflare API
returns.

To do

  • Setup/purchase unicode domain for tests

Closes #399

@jacobbednarz jacobbednarz force-pushed the non-unicode-domain-support branch from a3b16ed to 44b372c Compare July 15, 2019 23:38
@ghost ghost added size/L and removed size/M labels Jul 15, 2019
@jacobbednarz jacobbednarz force-pushed the non-unicode-domain-support branch from 795e99c to 37454bd Compare July 16, 2019 00:16
@ghost ghost added size/M and removed size/L labels Jul 16, 2019
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Config: testZoneConfig("tf-acc-unicode-test-1", "zajęzyk.pl", "true", "false"),
Copy link
Member Author

Choose a reason for hiding this comment

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

This domain needs to be swapped out with our own domain before merging.

Introduce unicode support for using zone names and ensure that the
schema comparison is performed after first converting both values to
unicode. This change ensures that the punycode and unicode values are
both stored as the unicode version to match what the Cloudflare API
returns.

Closes cloudflare#399
@jacobbednarz jacobbednarz force-pushed the non-unicode-domain-support branch from 9e7c741 to 068eefb Compare July 16, 2019 21:59
@jacobbednarz jacobbednarz merged commit c34d3d9 into cloudflare:master Jul 16, 2019
@jacobbednarz jacobbednarz deleted the non-unicode-domain-support branch July 16, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant