- From: Dominique Martinet <notifications@github.com>
- Date: Sun, 06 Nov 2022 20:45:09 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 7 November 2022 04:45:21 UTC
> Would it be possible to make zone IDs with upper case letters an error? That way if in the future it is possible to support them, it can be added backwards-compatibly. Please don't. On linux it's just case sensitive, upper cases are not invalid per se. It's perfectly possible (although I wouldn't recommend it) to create an interface wan0 and another interface Wan0 next to each other and you can ping fe80::1%wan0 and fe80::1%Wan0 to go through either interface appropriately. (You can also test with dummy interfaces and `ip link add Test type dummy` for example: ``` # ip link add Test type dummy # ip link add test type dummy $ getent ahostsv6 fe80::1%test fe80::1%11 STREAM fe80::1%test fe80::1%11 DGRAM fe80::1%11 RAW $ getent ahostsv6 fe80::1%Test fe80::1%10 STREAM fe80::1%Test fe80::1%10 DGRAM fe80::1%10 RAW ``` ) I don't think anyone is daring enough to do that in practice so I don't think having parsers assume one is equal to the other would be a problem, but case should be preserved for the actual host resolution/connect/sendto/whatever call -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/392#issuecomment-1305073910 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/url/issues/392/1305073910@github.com>
Received on Monday, 7 November 2022 04:45:21 UTC