View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005263||unreal||ircd||public||2019-05-06 01:37||2019-05-10 13:49|
|Target Version||Fixed in Version||4.2.4|
|Summary||0005263: CAP subcommands are case sensitive|
|Description||It appears that CAP subcommands such as LS and REQ are case sensitive as /cap ls gives back invalid subcommand yet /cap LS gives the usual response. This appears to happen for req vs REQ as well thus all commands are likely effected. Tested and confirmed on UnrealIRCd versions 4.0.23 and 4.0.17 though it most likely effects all hat support the CAP command.|
|Steps To Reproduce||Run any CAP subcommand in lowercase and observe the response CAP invalid subcommand|
Run any CAP subcommand in UPPERCASE and observe the expected responses/behaviour.
|Additional Information||This likely occurs on all UnrealIRCd versions which implement the CAP command.|
|Tags||No tags attached.|
|3rd party modules|
The CAP specification does not specify if the command should be
case sensitive or case insensitive, only that the capability names
are case sensitive.
Since in the IRC world generally everything is case insensitive,
except modes and who flags come to mind.. and some message tags,
the code was now changed for the command to be case insensitive.
commit 9f8e73dca74adb0bae09bbc4d0aff61674085b2c (HEAD -> unreal42, origin/unreal42, origin/HEAD)
Author: Bram Matthys <firstname.lastname@example.org>
Date: Fri May 10 08:57:16 2019 +0200
Make CAP commands case sensitive.
Suggested by Koragg in https://bugs.unrealircd.org/view.php?id=5263
||I made a typo in the commit message, of course I mean "Make CAP commands case INsensitive" ;)|
|2019-05-06 01:37||Koragg||New Issue|
|2019-05-07 07:29||syzop||Status||new => confirmed|
|2019-05-10 09:01||syzop||Note Added: 0020650|
|2019-05-10 09:01||syzop||Assigned To||=> syzop|
|2019-05-10 09:01||syzop||Status||confirmed => resolved|
|2019-05-10 09:01||syzop||Resolution||open => fixed|
|2019-05-10 09:01||syzop||Fixed in Version||=> 4.2.4|
|2019-05-10 09:01||syzop||Note Added: 0020651|
|2019-05-10 13:49||syzop||Note Added: 0020652|