question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

multiline `CAP LS 302` responses are not parsed correctly

See original GitHub issue

This issue was observed with the debian package of thelounge, version 3.3.0, and node version 13.1.0, against the oragono testnet at testnet.oragono.io. It should be reproducible against testnet.oragono.io (plaintext on 6667 or TLS on 6697).

It seems that The Lounge doesn’t correctly implement “Multiline replies to CAP LS and CAP LIST” during capability negotiation. In particular, the oragono testnet’s response to CAP LS 302 is multiline:

:oragono.test CAP * LS * :account-notify account-tag away-notify batch cap-notify chghost draft/acc draft/event-playback draft/labeled-response-0.2 draft/languages=13,en,~bs,~de,~el,~en-AU,~es,~fr-FR,~no,~pl,~pt-BR,~ro,~tr-TR,~zh-CN draft/rename draft/resume-0.5 draft/setname echo-message extended-join invite-notify message-tags multi-prefix oragono.io/bnc oragono.io/maxline-2=2048 oragono.io/nope sasl=PLAIN,EXTERNAL server-time sts=duration=86400,port=6697
:oragono.test CAP * LS :userhost-in-names znc.in/playback znc.in/self-message

The Lounge appears to ignore the first line and only interpret the second, as per this response:

CAP REQ :userhost-in-names znc.in/self-message

When the server was temporarily reconfigured to send a shorter, one-line CAP LS response, The Lounge correctly requested all supported caps, including SASL.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xPawcommented, Nov 8, 2019

It’s somewhat a shared development (I have access to irc-fw too), hence why I mentioned making the issue there 😊

0reactions
slingamncommented, Nov 8, 2019

Thanks, I’ll mention it to the kiwi devs — they might be in the best position to isolate the bug.

Read more comments on GitHub >

github_iconTop Results From Across the Web

multiline responses to CAP LS 302 are not parsed correctly · Issue ...
I'm using Revolution 0.5.2 (from F-Droid) against testnet.oragono.io. I created an account revolution, with password revolutionpassphrase, for testing: ...
Read more >
Multiline Messages - IRCv3
This specification adds a new batch type and tag sent by clients and servers to send messages that can exceed the usual byte...
Read more >
How To Fix the HTTP 302 Error (5 Methods) - Kinsta
1. Determine Whether the Redirects Are Valid. 302 responses are usually not errors. Temporarily redirecting users to a different page can be a ......
Read more >
HOW MUCH CLEARANCE DO YOUR BEARINGS NEED?
First, let's define how and where clearance should be measured. Half shell rod and main bearings do not have a uniform wall. The...
Read more >
Multi-line 2 Standard Application Software series 3.x. - DEIF
Ver. Date Description 3.22.0 05/09/2017 Changes: G59 update for UK market 3.21.0 20/09/2016 3.20.0 11/05/2015
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found