zinc icon indicating copy to clipboard operation
zinc copied to clipboard

Host is All Lowercase

Open seandenigris opened this issue 3 years ago • 2 comments

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?

seandenigris avatar Jul 15 '21 21:07 seandenigris

Aren't DNS names case insensitive and usually lowercase ?

svenvc avatar Jul 15 '21 21:07 svenvc

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 avatar Jul 15 '21 23:07 seandenigris