Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

Brackets in nicknames aren't being allowed #117

Open
d3-X-t3r opened this issue Jan 1, 2016 · 1 comment
Open

Brackets in nicknames aren't being allowed #117

d3-X-t3r opened this issue Jan 1, 2016 · 1 comment

Comments

@d3-X-t3r
Copy link

d3-X-t3r commented Jan 1, 2016

In the server settings, Atomic isn't accepting [ or ] as a valid character for a nickname, however, those are valid characters for IRC.

@indrora
Copy link
Owner

indrora commented Jan 1, 2016

Yeah, looks like I need to go in and really re-hash that.

The RFC [IRC-CLIENT] defines the following:

letter     =  %x41-5A / %x61-7A       ; A-Z / a-z
digit      =  %x30-39                 ; 0-9
special    =  %x5B-60 / %x7B-7D    ; "[", "]", "\", "`", "_", "^", "{",

"|", "}"
nickname = ( letter / special ) *8( letter / digit / special / "-" )

I'll have to implement the bnf as a regex. Woo.

On Fri, Jan 1, 2016 at 4:12 AM, dextersgenius [email protected]
wrote:

In the server settings, Atomic isn't accepting [ or ] as a valid character
for a nickname, however, those are valid characters for IRC


Reply to this email directly or view it on GitHub
#117.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants