Produces invalid HTTP version.
cheako opened this issue · 2 comments
cheako commented
https://travis-ci.org/globaleaks/Tor2web/builds/285838413#L1652
s%HTTP/.0%HTTP/1.0%
I'll do some double-checking but I think it's safe to claim this is the first bug revealed by the test suite.
cheako commented
https://travis-ci.org/cheako/Tor2web-1/builds/285870803#L1648
This shows the problem without the concatenation the previous version implemented. I'm unable to get any 'closer' because of SSL.
$sock->read( $b, 1 ); diag "Location $b";
cheako commented
Nevermind, well it's still wrong that it takes HTTP/.0 and returns HTTP/.0... But it's more of a feature. I'll test if it will claim to be HTTP/2 or even HTTP/3.5, that would be a problem because it could be likely to start seeing HTTP/2.