Bug #550

avatar

Nickname and username may only contain US-ASCII characters

Added by Mirco Bauer 5136 days ago. Updated 4743 days ago.

Status:Closed Start:11/29/2010
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine IRC
Target version:0.8.9
Complexity:

Low

Found in Version:

Votes: 0

Description

As Smuxi by default uses the username of the operating system as nickname and also username (ident) for the IRC connection it has to make sure it doesn't contain any invalid characters according to the RFC.

Associated revisions

Revision cd9246a2a3b0c955afcf20d476078e9d595e12e1
Added by Mirco Bauer 4743 days ago

[Engine-IRC] Show warning if username contains non-alphanumeric characters (closes: #550)

History

Updated by Mirco Bauer 5054 days ago

avatar
  • Category changed from Engine to Engine IRC
  • Complexity set to Low

Updated by Mirco Bauer 4815 days ago

avatar
  • Assigned to deleted (Mirco Bauer)

Updated by Mirco Bauer 4743 days ago

avatar
  • Assigned to set to Mirco Bauer
This assumption is not true, the ident username can contain an 8-bit ASCII character (except \0 \r and \n) according to the ident RFC1413: http://www.ietf.org/rfc/rfc1413.txt
Quoting:
<user-id> ::= <octet-string>
...
<octet-string> ::= 1*512<octet-characters>
<octet-characters> ::=
                  <any octet from  00 to 377 (octal) except for
                   ASCII NUL (000), CR (015) and LF (012)>

So Smuxi should only detect non-alphanumeric characters and show a warning instead.

Updated by Mirco Bauer 4743 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF