View Issue Details

IDProjectCategoryView StatusLast Update
0005910unrealircdpublic2021-06-14 07:26
Reporterji Assigned Tosyzop  
PrioritylowSeveritytrivialReproducibilityalways
Status acknowledgedResolutionopen 
PlatformLinuxOSUbuntuOS Version20.04 LTS
Product Version5.0.9 
Summary0005910: IRCd returning invalid host error then setting invalid oper-block vhost
DescriptionSo far only tested on two different PissNet servers linked together. When using color codes within in the oper-block vhost directive the IRCd will return *** /SetHost Error: A hostname may only contain a-z, A-Z, 0-9, '-' & '.' when using /oper. The IRCd then sets the supposedly invalid vhost anyways.

I would either expect no error and the host to be set, or the error to show up and no host to be set.
Steps To ReproduceMake an oper block for yourself on a freshly compiled UnrealIRCD including a vhost with color codes within that oper block, then /oper which will show the error. You can /whois yourself to verify wether the vhost is set or not.
TagsNo tags attached.
3rd party modules

Activities

syzop

2021-06-14 07:26

administrator   ~0022001

Thanks for the report, indeed this should not be permitted. There are probably a bit more around of these, but they should be fixed too.

I may wait do it post-release though as it is indeed (as you already noted) a low priority item.

Issue History

Date Modified Username Field Change
2021-06-10 02:55 ji New Issue
2021-06-14 07:26 syzop Assigned To => syzop
2021-06-14 07:26 syzop Status new => acknowledged
2021-06-14 07:26 syzop Note Added: 0022001