tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60784] HTTP status line tests ignore trailing space after status code in status line (incomplete RFC test)
Date Wed, 01 Mar 2017 15:01:31 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60784

--- Comment #2 from Michael Osipov <1983-01-06@gmx.net> ---
(In reply to Mark Thomas from comment #1)
> The tests in question aren't (explicitly) testing the format of the status
> line. They are testing that the correct status code is returned.
> 
> I don't see any harm in expanding the tests to check for the space. I'll
> apply the patch shortly.

That's true, but some other tests do include the space character. This simply
cleans up the remaining tests and adds the extra check for free. It is rather
trivial.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message