You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So in essence the space between "middle" parameters is "used up" by the SPACE in the definition of params, and then middle first expects something that is not a space. From my understanding this means that multiple spaces are not allowed between middle parameters, and the IRC test under question should be an error.
The text was updated successfully, but these errors were encountered:
I think this test case is taken from this bug discussion: https://bugzilla.mozilla.org/show_bug.cgi?id=954972 Where it was already discussed that sending a message like this would break IRC message parsers.
go-twitch-irc/test_resources/irctests.json
Lines 205 to 215 in 1ea7808
In this test, the expected output for the parameters is
[""]
(single element list, holding an empty string).I think the IRC spec disagrees on this: https://tools.ietf.org/html/rfc2812#section-2.3.1
relevant part:
So in essence the space between "middle" parameters is "used up" by the
SPACE
in the definition ofparams
, and thenmiddle
first expects something that is not a space. From my understanding this means that multiple spaces are not allowed between middle parameters, and the IRC test under question should be an error.The text was updated successfully, but these errors were encountered: