Modify

#615 new enhancement

allow nicks starting with numbers

Reported by: ilf@… Owned by:
Priority: normal Milestone:
Component: BitlBee Version: 1.2.6
Keywords: Cc:
IRC client+version: Client-independent Operating System: Public server
OS version/distro:

Description

In at least the Twitter module, nicks starting with numbers get an underscore in front of their nick and renaming them to without is not allowed. Why is that so? Any chance to fix this? 1.2.7 here, still missing in Trac :)

Attachments (0)

Change History (3)

comment:1 Changed at 2010-05-16T10:49:15Z by Wilmer van der Gaast <wilmer@…>

In at least the Twitter module, nicks starting with numbers get an
underscore in front of their nick and renaming them to without is not
allowed.
Why is that so? Any chance to fix this?

This didn't happen before but was added later to be more IRC-compliant.
(Admittedly I don't know if any IRC client really has problems with it BTW.)

I have plans for adding some RFC-ignorance options though, and loosening
nickname restrictions will be one of the changes.

1.2.7 here, still missing in Trac :)

Good point, that's fixed now.

comment:2 Changed at 2010-05-16T11:09:30Z by ilf

Oh, indeed. RFC 2812 sais:

nickname = ( letter / special ) *8( letter / digit / special / "-" ) http://tools.ietf.org/html/rfc2812#section-2.3.1

But this RFC also states that nicknames have "a maximum length of nine (9) characters". I guess it's safe to ignore this, but a $ignore_rfc_nickname_restriction option would be cool.

comment:3 Changed at 2010-05-17T14:22:26Z by ilf

Just for completeness: There's a draft:

for the server to unobtrusively advertise the ways in which it differs from the Internet Relay Chat (IRC) specification defined in RFC1459 http://tools.ietf.org/html/draft-brocklesby-irc-isupport-03

It incorporates a NICKLEN parameter:

o NICKLEN=number

This parameter specifies the maximum nickname length that the client may use in a nickname.

[Example: NICKLEN=9 indicates that clients may have nicknames up to 9 characters in length.]

This parameter does not restrict the length of any nicknames other clients on the network may use.

The NICKLEN token requires a numeric value.

The default value for NICKLEN is 9, which corresponds to RFC 1459 [5].

http://tools.ietf.org/html/draft-brocklesby-irc-isupport-03#section-3.13

I can't find a mention of the specification to not start with digits. But then again, the draft expired in 2004, too.

So I still vote for an option to ignore this. tircd ignores this by default. irssi handles it just fine :)

Modify Ticket

Action
as new The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.