#51 ZNC doesn't parse PASS messages correctly.

closed-fixed
SilverLeo
Engine (43)
5
2009-03-02
2009-02-27
Ryan Patterson
No

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();
}

Discussion

  • Psychon
    Psychon
    2009-03-02

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

     
  • Psychon
    Psychon
    2009-03-02

    • assigned_to: prozacx --> silverleo
    • status: open --> closed-fixed