]> jfr.im git - irc/atheme/atheme.git/commit
XMLRPC: Allow zero-length authcookie and account name
authorAaron Jones <redacted>
Sat, 1 Oct 2022 23:02:41 +0000 (23:02 +0000)
committerAaron Jones <redacted>
Sat, 1 Oct 2022 23:02:41 +0000 (23:02 +0000)
commit4584fd8b542fc98415969f7838ed709884bc9a06
treefa17c6f00ad7b0f024fd15370a6a0bb112db2d49
parentb3f2a5b87d1cf2fd1d4d9bc2d7e1ae5c467a9b04
XMLRPC: Allow zero-length authcookie and account name

The existing code requires you to provide both, and then treats
a 1-character authcookie as though none were provided, while
also then ignoring the account given.

Just allow both to be zero-length instead of having to supply a
1-character cookie and an account that it's going to ignore.
modules/transport/xmlrpc/main.c