TL;DR
Experts argue that IPv6 zone identifiers in URLs are problematic because they require percent-encoding and are not supported by browsers. This creates usability and compatibility issues, raising questions about their practical use.
Recent technical analysis and developer experiences indicate that including IPv6 zone identifiers in URLs leads to parsing errors and compatibility issues, prompting experts to label this practice as a mistake.
IPv6 addresses can include zone identifiers (zones) such as fe80::4%eth0, used to specify network interface scope. However, when embedded in URLs, these zones cause problems because URLs cannot directly represent the ‘%’ character used in zone identifiers without percent-encoding. Developers using languages like Go have encountered errors parsing such URLs, as the standard library does not support unencoded zone identifiers, requiring manual encoding of the ‘%’ as ‘%25’.
While RFC 6874 specifies how to encode IPv6 zones in URIs, practical implementation remains inconsistent. Browsers currently do not support IPv6 zones in URLs because doing so would break the concept of origin, impacting security models. As a result, support for IPv6 zones in web addresses is limited or non-existent across major platforms and frameworks, complicating network configurations and debugging.
Why It Matters
This issue affects developers, network administrators, and browser vendors by complicating the use of IPv6 link-local addresses with zones in web applications. The lack of support and the need for manual encoding increase the risk of errors, reduce usability, and hinder IPv6 adoption in certain contexts. Recognizing this as a fundamental flaw suggests that future standards and implementations may need to reconsider or eliminate zone identifiers in URLs.

Fluke Networks LIQ-Duo-IE-KIT, LinkIQ-Duo Cable, Wi-Fi, and Network Tester with Industrial Ethernet Adapter Kit and Probe
Performance testing on EtherNet/IP, PROFINET, EtherCAT and other Industrial Ethernet cabling plus troubleshooting (distance to fault, wire map,…
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background
IPv6 introduced link-local addresses with zone identifiers to distinguish between multiple network interfaces. While these are useful in local network configurations, embedding them in URLs has proven problematic. The standard RFC 6874 provides guidance for URI encoding but is not widely supported or consistently implemented in browsers and libraries. Developers have reported parsing errors and inconsistent behavior when attempting to use IPv6 zones in URLs, leading to ongoing discussions about their viability.
“In practice, IPv6 zones in URLs cause parsing errors and are not supported by browsers, making their inclusion a design mistake.”
— Xe Iaso
“The RFC guidance exists, but implementation is inconsistent, and browsers currently do not support zones in URLs due to security and compatibility concerns.”
— Network standards expert
IPv6 address scanner
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What Remains Unclear
It remains unclear whether future standards or browser updates will fully support IPv6 zones in URLs or if alternative solutions will be adopted. The community continues to debate the best approach for local address referencing in web contexts.

EZ Home and Office Address Book Software
Address book software for home and business (WINDOWS 11, 10, 8, 7, Vista, and XP. Not for Macs)….
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What’s Next
Developers and standards bodies are expected to explore alternative methods for representing link-local addresses in URLs or to phase out the use of zones altogether. Browser vendors may also update support based on evolving standards and security considerations.

Mastering IPv6: Step-by-Step Solutions for Seamless Transition, Configuration, and Troubleshooting for Future-Proofing Your Network
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Why are IPv6 zones included in URLs problematic?
Because URLs cannot directly represent the ‘%’ character used in zone identifiers without percent-encoding, leading to parsing errors and inconsistent support across platforms.
Are browsers supporting IPv6 zones in URLs now?
No, major browsers currently do not support IPv6 zones in URLs due to security and compatibility issues.
What is the recommended way to include link-local addresses in URLs?
Currently, the recommended approach is to percent-encode the ‘%’ as ‘%25’ in the address, but this is considered an edge case and not well-supported.
Will future standards fix this issue?
It is uncertain; ongoing discussions and drafts are exploring solutions, but widespread support or changes are not yet confirmed.
Source: Hacker News