this post was submitted on 09 Dec 2023
40 points (97.6% liked)
Firefox
17885 readers
38 users here now
A place to discuss the news and latest developments on the open-source browser Firefox
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No, it has to do with UI element where you type addresses and searches (input box). It's a very old bug, you can find issues on GitHub, Bugzilla etc.
Input box is supposed to understand whether what you type is an address, and if not, it is being treated as a search query. To understand if it's an address, it uses Regular Expressions. Their regular expression is wrong, so it can find IPv4 address, but can't find IPv6. As simple as that.
There were some pull requests to fix that, but guys at Mozilla said that those pull requests lead to performance regressions and rejected that.
I know all of this because I could not use IPv6 addresses too and hadbl to look for the issue and find workarounds.
The latest PR was accepted in November, so IPv6 literals work in v122 alpha.