Closed Bug 243649 Opened 22 years ago Closed 20 years ago

wrong channel opens up when I click on non-last entry in output of /pref initialURLs

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jilerner, Assigned: rginda)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040421 Build Identifier: Chatzilla 0.9.63b [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040421] When "initialURLs" pref contains more than one entry, clicking on the non-last element of the output of "/pref initialURLs" opens the wrong channel. Namely it opens the "#channel;" (with with ";" wrongly appended). For example if channel "irc://irc.mozilla.org/chatzilla" is in initialURLs, and non-last, then clicking on it will open not the original channel "#chatzilla", but the channel "#chatzilla;" . Reproducible: Always Steps to Reproduce: Expected Results: One possible solution is to make initialURLs space-separated instead of ";"-separated (separated by a char that can never appear unencoded in the URL, that is); and recognize ';' as separator for back-compatibility.
I have this fixed locally, I'll try to extract the relevant bit and attach sometime.
(In reply to comment #1) > I have this fixed locally, I'll try to extract the relevant bit and attach sometime. Please attach the fix.
This also has my fix to make the /pref command always show an error if the pref doesn't exist (rather than having a JS error in some cases).
Product: Core → Other Applications
OS: Windows 2000 → All
Hardware: PC → All
This got fixed somewhere along the way.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: