Skip to content

Commit 2649037

Browse files
committed
Remove incorrect empty nick/ident/hostname.
Per RFC 1459: <prefix> ::= <servername> | <nick> [ '!' <user> ] [ '@' <host> ] <nick> ::= <letter> { <letter> | <number> | <special> } <user> ::= <nonwhite> { <nonwhite> } <host> ::= see RFC 952 [DNS:4] for details on allowed hostnames and per RFC 952: <official hostname> ::= <hname> <hname> ::= <name>*[.<name>] <name> ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>]
1 parent a21d0d6 commit 2649037

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

tests/userhost-split.yaml

-15
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,11 @@ tests:
3434
host: "localhost"
3535

3636
# without atoms
37-
- source: "[email protected]"
38-
atoms:
39-
user: "ag"
40-
host: "127.0.0.1"
41-
42-
- source: "[email protected]"
43-
atoms:
44-
nick: "coolguy"
45-
host: "127.0.0.1"
46-
4737
- source: "[email protected]"
4838
atoms:
4939
nick: "coolguy"
5040
host: "127.0.0.1"
5141

52-
- source: "coolguy!ag@"
53-
atoms:
54-
nick: "coolguy"
55-
user: "ag"
56-
5742
- source: "coolguy!ag"
5843
atoms:
5944
nick: "coolguy"

0 commit comments

Comments
 (0)