Share

Undernet IRC Server Development

Tracker: Bugs

5 Special Ascii characters in channel names allow duplicates - ID: 2838262
Last Update: Comment added ( klmitch )

This is a bug that allows people to join channels that seem to be like
another channel for example.
If you enter in the channel name and then in xchat in linux hit
ctrl+shift+u then enter code feff hit enter then enter again to join the
channel you will see the problem. I join #darkbot then I join
#darkbotctrl+shift+ufeff. Then do a whois and you see.

Notice #darkbot and #darkbot.

* [juice-] (~juice@65.28.97.1): juice
* [juice-] #coder-com #darkbot #darkbot
* [juice-] SantaAna.CA.US.Undernet.org :Krypt Technologies Inc.
* [juice-] idle 00:00:37, signon: Sat Aug 15 14:10:45
* [juice-] End of WHOIS list.

This could confuse users when trying to join help channels or any channel
in general. It could be possible for malicious users to create rouge
channels that could trick users. The more advance users would spot this
trick but newer users might not. These characters aren't allowed in
nicknames so I think it would be wise to disallow them in #channelnames
also.

Freenode simply tells you it's an invalid channel.
* #darkbot :Illegal channel name

Or you could just have it disregard the special characters and have it take
the user to the intended channel.

Hopefully this makes sense. If not please ask me on Undernet. Nickname is
juice or juice_ Also talked with Vek in the channel so it made sense with
someone before posting this.

Thanks,
juice


Jared Smith ( juicejar ) - 2009-08-15 20:06

5

Open

None

Entrope

Server

u2.10.13

Public


Comments ( 2 )

Date: 2009-08-17 16:11
Sender: klmitchProject AdminAccepting Donations

I advised the user to open a bug report, as I don't see any reason to not
remove 0xfe and 0xff from the channel name character set. Though I agree
with the rest of Entrope's comments, this would appear to be a common bug,
as the channel name in question appeared to be followed by two non-breaking
spaces in my _terminal-based_ IRC client (owing to pass-through and UTF-8
support on the terminal, most likely).


Date: 2009-08-16 22:46
Sender: entropeProject AdminAccepting Donations

A bug in your client is making it (your client) display the channel name
incorrectly. Your client is treating -- and displaying -- channel names as
if they are encoded using some Unicode character set (probably UTF-8), even
though ircu (in its 005 message) advertises its handling of channel and
nick names as "rfc1459".


Attached File

No Files Currently Attached

Changes ( 9 )

Field Old Value Date By
status_id Closed 2009-08-17 16:11 klmitch
resolution_id Invalid 2009-08-17 16:11 klmitch
allow_comments 0 2009-08-17 16:11 klmitch
close_date 2009-08-16 22:46 2009-08-17 16:11 klmitch
status_id Open 2009-08-16 22:46 entrope
close_date - 2009-08-16 22:46 entrope
resolution_id None 2009-08-16 22:46 entrope
assigned_to nobody 2009-08-16 22:46 entrope
allow_comments 1 2009-08-16 22:46 entrope