Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing space in CAP NAK #54

Open
progval opened this issue Dec 20, 2015 · 4 comments
Open

Trailing space in CAP NAK #54

progval opened this issue Dec 20, 2015 · 4 comments

Comments

@progval
Copy link
Contributor

progval commented Dec 20, 2015

At the end of CAP NAK responses, Mammon adds a trailing space:

Why?

Also, the spec states “The argument of the NAK subcommand MUST consist of at least the first 100 characters of the capability list in the REQ subcommand which triggered the NAK.”, and this space is not in the original message, so to my understanding, this is invalid.

@progval
Copy link
Contributor Author

progval commented Dec 20, 2015

Note: git blame says: 45b0c5f

@DanielOaks
Copy link
Member

If mIRC's fixed their client, we can take that out. We'll do some testing and see if it's still required!

@Mikaela
Copy link
Contributor

Mikaela commented Dec 20, 2015

I think this is breaking ZNC as when I connect I see:

2015-12-20 09:46:16+0200 -- *: C :Unknown command
2015-12-20 09:46:16+0200 -- *: AP :Unknown command
2015-12-20 09:46:16+0200 -- Welcome to the dereferenced.org IRC Network, Mikaela!mikaela@Ace-of-Diamonds.GirlsLikeUs.mikaela.info

And when I run /cap with WeeChat, I see just list of what ZNC supports.

2015-12-20 09:50:34+0200 -- irc: client capability, server supports: batch cap-notify echo-message multi-prefix server-time userhost-in-names znc.in/batch znc.in/playback znc.in/self-message znc.in/server-time-iso
2015-12-20 09:50:34+0200 -- irc: client capability, currently enabled: cap-notify multi-prefix server-time userhost-in-names

@Mikaela
Copy link
Contributor

Mikaela commented Dec 20, 2015

No, sorry, I missed the "NAK" in the tittle, I am opening a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants