Closed Bug 228799 Opened 21 years ago Closed 21 years ago

Opening Chatzilla gives "Invalid IRC URL ``%S"

Categories

(Other Applications :: ChatZilla, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mcsmurf, Assigned: rginda)

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031127
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031217

see steps to reproduce

Reproducible: Always

Steps to Reproduce:
1. Click on Window-IRC Chat
Actual Results:  
The error message "Invalid IRC URL ``%S" pops up; Chatzilla opens anyway

Expected Results:  
not popup the error message (and open Chatzilla :)
Keywords: regression
I think this regressed between 2003-10-15 and today, so should be easy to 
figure out
What version of chatzilla are you using? (/about)
Yesterday a fix was put in to make irc:/// (now an invalid URL) throw up this
message, where as before you'd get a silent JS exception. At the same time, the
pref pages were fixed to not default to irc:/// - which is the most likely
reason to have irc:/// in the intialURLs pref. The message is by design, though
it's clear it's not putting the URL in where it should.
This change makes Chatzilla automatically replace (and save the result) irc:///
items in initialURLs with irc://. It also fixes the "Invalid IRC URL" message,
so it shows the URL passed.
Attachment #137620 - Flags: review?(rginda)
Comment on attachment 137620 [details] [diff] [review]
cvs diff to deal with irc:/// in initialURLs

please add a comment in there that explains how irc:/// might have gotten in to
the pref to begin with, other than that it looks great.  r=rginda.
Attachment #137620 - Flags: review?(rginda) → review+
Comment on attachment 137620 [details] [diff] [review]
cvs diff to deal with irc:/// in initialURLs

Removes now-unsuported URL entires (no effect on localisation).
Attachment #137620 - Flags: approval1.6?
Comment on attachment 137620 [details] [diff] [review]
cvs diff to deal with irc:/// in initialURLs

a=chofmann for 1.6.  this needs to go on the branch at this point to get into
1.6.
Attachment #137620 - Flags: approval1.6? → approval1.6+
Flags: blocking1.6+
Checked into HEAD and MOZILLA_1_6_BRANCH.
Status: NEW → 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.

Attachment

General

Creator:
Created:
Updated:
Size: