Closed Bug 186252 Opened 22 years ago Closed 21 years ago

unable to connect to a server if the description field is not set (bad USER message)

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mozilla, Assigned: rginda)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021212

If you set the pref: user_pref("extensions.irc.desc", ""); or use the ChatZilla
preferences to set the description to an empty string, 
function serv_login(nick, name, desc) sends a message like
"USER name foo bar :\n", which causes the server to reply:
"USER: not enough paramenters" (ERR_NEEDMOREPARAMS)

Reproducible: Always

Steps to Reproduce:
1. Set the Description in Preferences->ChatZilla or in the prefs.js file to an
empty string
2. start chatzilla
3. try to connect to any server

Actual Results:  
The server replied: "USER: not enough parameters"

Expected Results:  
connection to server established

BTW: shouldn't this field be called Realname in stead of Description?
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Hardware: PC → All
What should be sent if the description is missing?
The latest version of ChatZilla (0.9.45) includes " " -> "_" escaping of
nickname and real name, as well as defaulting for nick/name/desc if they are
blank (I've also noticed it uses "*" instead for "foo" and "bar" too).

Marking FIXED.
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.