Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Exception should be thrown for invalid parameters #8

Open
elazar opened this issue Feb 13, 2015 · 0 comments
Open

Exception should be thrown for invalid parameters #8

elazar opened this issue Feb 13, 2015 · 0 comments

Comments

@elazar
Copy link
Member

elazar commented Feb 13, 2015

Generator->getIrcMessage() should throw an exception if null, carriage return, or line feed bytes (i.e. ASCII 0, 10, and 13, respectively) are detected in parameter values, since that will either make the messages invalid per the standard or result in their truncation when line ending characters are interpreted as being part of the IRC messages.

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

No branches or pull requests

1 participant