ircv3: Add support for weird tag names, per the spec
authorJanne Mareike Koschinski <janne@kuschku.de>
Tue, 23 Feb 2021 20:25:03 +0000 (21:25 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 12 Mar 2021 13:22:29 +0000 (14:22 +0100)
commitc33c05dbcb7c0c9a51dc3d9d85334e2482d5e18e
treeaeb4baf9f7bd983596c5cd58e806d86b217256a7
parent61219bb0ca15a6356fde510fd114fd3b6628f08b
ircv3: Add support for weird tag names, per the spec

IRCv3 currently does not specify (or recommend specifying) any tag
names which would contain multiple slashes, but IRCv3 does recommend
clients should gracefully handle any possible tag, ideally treating
it as opaque string.

We’d like to avoid that, but also want to ensure even after a roundtrip
through our core, tags we don’t support are still in identical
condition.
src/common/ircdecoder.cpp
tests/common/ircdecodertest.cpp
tests/common/ircencodertest.cpp