SUMMARY As someone accidentally found out in #konversation: apparently konversation allows spaces in both nick and ident/username configuration in the identity, which leads to a broken USER command sent, like USER I haveASpace! 8 * :my gecos%0A which shifts around parameters, so * is taken as the GECOS/Realname STEPS TO REPRODUCE 1. Open the identify configuration 2. Add a nick and/or ident which contains a space 3. Connect OBSERVED RESULT Broken USER command sent EXPECTED RESULT Spaces should be, if possible, already disallowed in the GUI config and, additionally, be trimmed before sent. SOFTWARE/OS VERSIONS Any ADDITIONAL INFORMATION Not affected myself, just reporting it for documentation purposes
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/40
Git commit 47733e88b76822f61cd9fcc6ff0434ebf6223823 by Peter Simonsson. Committed on 30/12/2020 at 05:43. Pushed by psn into branch 'release/20.12'. Don't allow spaces in ident and nick inputs As the IRC protocol doesn't handle spaces in nicks or idents don't allow the user add them to the input. M +32 -0 src/identitydialog.cpp https://invent.kde.org/network/konversation/commit/47733e88b76822f61cd9fcc6ff0434ebf6223823