Closed Bug 116040 Opened 23 years ago Closed 21 years ago

need "Unknown network" error for bogus networks in urls

Categories

(Other Applications :: ChatZilla, defect)

x86
Windows NT
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mseitz, Assigned: rginda)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.6+) Gecko/20011218
BuildID:    2001121803

I have added an entry to my "\WinNT\System32\Drivers\Etc\HOSTS" file for a local
server that is both a web server and an IRC server.  I can access the web server
using either the ip address or the server name in a URL.  However, I cannot
access the IRC server using the server name, even though I can access the IRC
server using the IP address.  In other words:

"http://10.x.y.z/" works
"http://servername/" works
"irc://10.x.y.z/channel" works
"irc://servername/channel" does not work

Reproducible: Always
Steps to Reproduce:
1.  Add an entry for an IRC server to the "\WinNT\System32\Drivers\Etc\HOSTS" file
2.  Enter "irc://servername/channel" in the address bar


Actual Results:  Chatzilla opens but does not connect to the IRC server.

Expected Results:  Chatzilla should open and connect to the IRC server just as
it does when using an IP address in the URL.
Please refer to
<http://www.mozilla.org/projects/rt-messaging/chatzilla/irc-urls.html>.

<TARGET>s with no . or : characters are interpreted as network name, not a
server.  To force the <TARGET> to be parsed as a server, add ,isserver to the url.

ie, <irc://servername/channel,isserver> should work as you expect.

We should probably print an "Unknown network ``servername''" message when an
attempt is made to connect to an unknown network.

Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: IRC URL does not use "HOSTS" file to resolve address → need "Unknown network" error for bogus networks in urls
We appear to have such a message now (0.9.46):

[INFO]	Unknown network “blah”

Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
You need to log in before you can comment on or make changes to this bug.