Page 1 of 1
Chghost & {}[] in Unreal 3.2.3
Posted: Fri Apr 08, 2005 1:22 pm
by dotslasher
I noticed that you cant use {}[] with the cmds chghost and sethost anymore, why is that?
Posted: Fri Apr 08, 2005 2:37 pm
by w00t
I would take a stab in the dark and assume because they aren't valid host characters, I may be wrong.
Posted: Fri Apr 08, 2005 2:51 pm
by Dukat
Yeah, I never saw a domain using any of these characters...
Were they really supported?
In what version?

Posted: Fri Apr 08, 2005 2:54 pm
by w00t
I wouldn't know, never tried to use them

Posted: Fri Apr 08, 2005 2:58 pm
by dotslasher
i might be wrong but i believe it was supported on Unreal 3.2.2 (not sure though) because i had an anope module that auto sets a vhost to Nick.Users.Mynetwork.Com and after i upgraded to 3.2.3 it stopped settings vhosts for people with {} or [] in their nicks. so i did the test with /chghost and it came up with: *** /ChgHost Error: A hostname may contain a-z, A-Z, 0-9, '-' & '.' - Please only use them
but i remember i could use {} before
i wonder why other ircds like ircu, nefarious support {}[] etc and others dont.
wouldnt it be better if all or none used this? i can see why they wouldnt be supported since they arent supported by the rfc
Posted: Fri Apr 08, 2005 3:39 pm
by codemastr
{} and [] were supported because of a bug (the same reason ircu supports them). It was old code that, because of RFC1459, considered {} and [] to be "letters" therefore, the "is it a letter?" test succeeded. However, we have since fixed that bug. {} and [] are illegal in hostnames.
Posted: Fri Apr 08, 2005 10:31 pm
by dotslasher
ok tnx for the info codemastr