Skip to content

test single label IDN hostnames #687

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

Merged

Conversation

swaeberle
Copy link
Contributor

@swaeberle swaeberle commented Sep 20, 2023

Also check if IDN hostnames comply to single label rules from RFC1123.

I am little bit uncertain, if the checks should be enriched with IDN literals.

Fixes: #686

Also check if IDN hostnames comply to single label rules from RFC1123.

Signed-off-by: Stephan Wurm <[email protected]>
@swaeberle swaeberle requested a review from a team as a code owner September 20, 2023 05:55
@Julian
Copy link
Member

Julian commented Sep 20, 2023

Thanks! This looks good to me, I think it's fine even without any IDN-specific extra tests, that behavior is decently covered by the other tests. Merging!

@Julian Julian merged commit 4ecd01f into json-schema-org:main Sep 20, 2023
@swaeberle swaeberle deleted the check-single-label-idn-hostnames branch September 21, 2023 05:27
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.

Add tests for single label IDN hostnames
2 participants