Tracker: Bugs

5 ZNC doesn't parse PASS messages correctly. - ID: 2644076
Last Update: Settings changed ( psychon )

According to the IRC spec, for all messages, including PASS, the last parameter can be prefixed with a colon, allowing spaces in that parameter. ZNC does not handle a PASS message where the password argument is prefixed with a colon. And here's the fix:

Client.cpp, line 90:
m_sPass = sLine.Token(1);
if (m_sPass.Left(1) == ":") {
m_sPass.LeftChomp();
}


Ryan Patterson ( cgamesplay ) - 2009-02-26 19:42:17 PST

5

Closed

Fixed

SilverLeo

Engine

None

Public


Comment ( 1 )

Date: 2009-03-02 10:59:37 PST
Sender: psychonProject Admin

I think SilverLeo fixed this in rev 1403 but didn't close the bug report.
Please reopen if I'm wrong.


Attached File

No Files Currently Attached

Changes ( 5 )

Field Old Value Date By
status_id Open 2009-03-02 10:59:38 PST psychon
resolution_id None 2009-03-02 10:59:38 PST psychon
assigned_to prozacx 2009-03-02 10:59:38 PST psychon
allow_comments 1 2009-03-02 10:59:38 PST psychon
close_date - 2009-03-02 10:59:38 PST psychon