Closed
Bug 115123
Opened 24 years ago
Closed 23 years ago
IPv6: problems w/ bogus address
Categories
(Core :: Networking, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: obi-wan, Assigned: neeti)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120
BuildID: 2001112012
IPv6 works fine when using hostnames and resolving via DNS, however mozilla sits
there and does nothing when an IPv6 ip address is given in the address bar.
Reproducible: Always
Steps to Reproduce:
1. Put an IPv6 IP address (no hostnames) in address bar
2. Hit enter
3. Watch nothing happen
Actual Results: Absolutely nothing happened.
Expected Results: The browser should have connected to the given IP address,
downloaded the page, and rendered as usual, just as if a hostname had been given.
My recollection is that this is not the correct URL format for IPv6...
I don't know who to ask to come in and comment. Perhaps you could search the
other IPv6 bugs?
You're right, according to RFC 2732, a literal IPv6 address should be
encapsulated in [] when being given in a URL. Maybe I should read the RFCs
first when using something new like this :)
However, should mozilla not either try anyway, or give some sort of error when a
literal IPv6 address is given without the brackets? As it is, typing random
numbers, strings, etc into the address bar tries to resolve the address
(appending www. to the beginning and .com to the end). So it seems there is an
explicitly defined behavior to do nothing when a literal IPv6 address is given
without being encapsulated in brackets.
The address/location bar is a really weird animal. About 10 different things
fire before it actually decides where to connect.
There are numerous bugs that discuss and argue about it's behavior. One of my
many to-do projects is to document this...
![]() |
||
Comment 4•24 years ago
|
||
The address you propose will get parsed as:
protocol -- http
host -- 3ffe
port -- 400
garbage -- the rest.
This is the most reasonable default at the moment since people are not using
IPV6 addresses right and left....
Oh, I get a "access to port denied for security reasons" alert with the url you
give.
Comment 5•23 years ago
|
||
Closing this as INVALID. The given address isn't valid per RFC so not accepting
this is reasonable and expected behaviour according to benc.
REPORTER: You can reopen if you disagree.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Summary: Nothing happens when IPv6 address is given → IPv6: problems w/ bogus address
You need to log in
before you can comment on or make changes to this bug.
Description
•