TL;DR
IPv6 zone identifiers in URLs are problematic due to URL parsing limitations, requiring percent-encoding and causing compatibility issues. Experts suggest this approach is flawed and needs better solutions.
Experts warn that including IPv6 zone identifiers in URLs is a flawed practice due to technical limitations in URL parsing, leading to compatibility and usability issues.
IPv6 addresses often include zone identifiers (e.g., fe80::4%eth0), which are used to disambiguate link-local addresses across multiple interfaces. However, embedding these zones directly into URLs causes parsing errors because URLs cannot natively handle the ‘%’ character followed by zone identifiers without percent-encoding.
Current implementations, such as in the Go programming language, require encoding the ‘%’ as ‘%25’ to work around this issue, but this solution is considered cumbersome and error-prone. Browsers currently do not support IPv6 zones in URLs because it breaks the concept of ‘origin’ used for security and session management. While RFC 9844 provides guidance on zone identifiers, there is no established standard for including them in URLs, leading to inconsistent support across frameworks and browsers.
Why It Matters
This issue impacts developers and users who rely on link-local IPv6 addresses with zones, complicating network configuration, debugging, and access. The lack of standard support can lead to broken links, security concerns, and interoperability problems, highlighting a need for better standards or alternative approaches.

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.
Background
The problem stems from the way IPv6 handles link-local addresses with zones, which are essential for disambiguation on multi-interface devices. Despite RFC 9844 offering guidance for zone identifiers, the absence of a clear, standardized method for embedding these in URLs has led to widespread issues. The problem has gained attention in recent discussions, with many developers reporting difficulties and browser limitations preventing proper support.
“Including IPv6 zones directly in URLs is inherently problematic because URLs cannot properly encode or interpret the zone identifiers, leading to parsing errors and inconsistent support.”
— Expert in IPv6 standards
“Our implementation requires encoding the ‘%’ character as ‘%25’ to handle zone identifiers, but this is an awkward workaround that highlights the underlying issue.”
— Go language developer
“Browsers do not currently support IPv6 zones in URLs because it conflicts with security models based on the origin concept.”
— Browser developer representative

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 Remains Unclear
It is still unclear whether a new standard or browser support will emerge to fully address IPv6 zone handling in URLs. The community is debating potential solutions, but no consensus or implementation timeline has been established.

Gaobige Network Tool Kit for Cat5 Cat5e Cat6, 11 in 1 Portable Ethernet Cable Crimper Kit with a Ethernet Crimping Tool, 8p8c 6p6c Connectors rj45 rj11 Cat5 Cat6 Cable Tester, 110 Punch Down Tool
Complete Network Tool Kit for Cat5 Cat5e Cat6, Convenient for Our Work: 11-in-1 network tool kit includes a…
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 continue discussions on possible solutions, including defining new URL schemes or extending existing standards. Browser vendors may also explore support if a viable, standardized approach emerges.
IPv6 address scanner
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 natively handle the ‘%’ character followed by zone identifiers without percent-encoding, leading to parsing errors and inconsistent support across browsers and frameworks.
What is the current workaround for including IPv6 zones in URLs?
The common workaround is to percent-encode the ‘%’ as ‘%25’, but this is considered cumbersome and error-prone.
Will browsers support IPv6 zones in URLs in the future?
It is uncertain. Support depends on future standards development and browser implementation, which are currently lacking definitive plans.
Are there alternative solutions to using zones in IPv6 addresses in URLs?
Yes, some suggest avoiding zones in URLs altogether or using separate configuration mechanisms, but no widely adopted standard exists yet.
Source: Hacker News