stable

Clone or download

Read-only

Fix request #5604 - ViewVC download broken when file start with 0x00

Parse ViewVC HTTP request according to RFC 2616 instead of relying on good will of file to be served (for instance that they should not start by a termination char...). Change-Id: I14f00f95a6cf91079d081671af809a99732efabf

Modified Files

Name
M src/www/include/utils.php +18 −0 Go to diff View file
M src/www/include/viewvc_utils.php +3 −1 Go to diff View file
A tests/simpletest/www/include/UtilsHTTPTest.php +50 −0 Go to diff View file
A tests/simpletest/www/include/_fixtures/svn_bin_data Binary file Go to diff View file