Bug 442121

Summary: Noncompliant line ending in outgoing messages
Product: [Applications] konversation Reporter: Alois Wohlschlager <alois1>
Component: protocolAssignee: Konversation Developers <konversation-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 1.8.21081   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alois Wohlschlager 2021-09-07 11:38:18 UTC
SUMMARY

Konversation sends outgoing IRC messages with LF termination. The IRC protocol specifications demand CRLF termination.


STEPS TO REPRODUCE
1. Start traffic capture in Wireshark
2. Use Konversation to connect to an IRC server without TLS encryption (same bug happens with TLS, but it's easier to observe without)
3. Check traffic in wireshark

OBSERVED RESULT

Outgoing messages are sent with LF (0a) line ending

EXPECTED RESULT

Outgoing messages are sent with CRLF (0d 0a) line ending


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: n/a
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.3