Closed g-dormoy closed 9 years ago
Hmmmm. Correct.
Would you like to fix?
Sure I wanted to make sure we agreed on that
I think that the error is in lexer.astring(). Section 9 of the RFC describes the real grammar.
The problem is also the lexer.skipSpace() at the beginning of lexer.next().
I've commited a fix for that one, i've added a slice of bytes to handle the exception on astring accordingly to the section 9 of the RFC as alien pointed out.
I've made my test on my side but feel free to tell me if I've missed something
From the RFC 3501 :
If the tag is replaced by a space shouldn't we return an error to the client?
example
BAD Protocol Error: "Tag not found in command".
For now the space seems to be omited