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

Host is All Lowercase #64

Open
seandenigris opened this issue Jul 15, 2021 · 2 comments
Open

Host is All Lowercase #64

seandenigris opened this issue Jul 15, 2021 · 2 comments

Comments

@seandenigris
Copy link

url := ZnUrl new
	scheme: 'gitlab';
	host: 'SeanDeNigris'.

url asString = 'gitlab://seandenigris/'

That is "SeanDeNigris" was transformed into "seandenigris". Is that a bug or a feature?

@svenvc
Copy link
Owner

svenvc commented Jul 15, 2021

Aren't DNS names case insensitive and usually lowercase ?

@seandenigris
Copy link
Author

I figured you would know more than me! This SO thread seems to suggest that comparison is case-insensitive, but uppercase is allowed. It doesn't make too much difference to me because I fixed my uses, but wanted to get your take.

seandenigris added a commit to seandenigris/Small-World that referenced this issue Jul 19, 2021
This is how Zinc works [1].
The spec says that hostnames are case insensitive.

1. svenvc/zinc#64
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

No branches or pull requests

2 participants