Chghost & {}[] in Unreal 3.2.3

These are old archives. They are kept for historic purposes only.
Post Reply
dotslasher
Posts: 12
Joined: Tue Jan 11, 2005 7:51 pm

Chghost & {}[] in Unreal 3.2.3

Post by dotslasher »

I noticed that you cant use {}[] with the cmds chghost and sethost anymore, why is that?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I would take a stab in the dark and assume because they aren't valid host characters, I may be wrong.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Yeah, I never saw a domain using any of these characters...
Were they really supported?
In what version? :shock:
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

I wouldn't know, never tried to use them :)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
dotslasher
Posts: 12
Joined: Tue Jan 11, 2005 7:51 pm

Post 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
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post 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.
-- codemastr
dotslasher
Posts: 12
Joined: Tue Jan 11, 2005 7:51 pm

Post by dotslasher »

ok tnx for the info codemastr
Post Reply