stable

Clone or download

Read-only

request #13081: Tus specification is not respected when trying to use a non supported version of the protocol

The header Tus-Version is not present when responding to client using a non supported version of the protocol, it should [0]. The issue has been introduced by 3a5535e58351cfe4f70b51ab2bb4ced6cb836927. Th opportunity has also been took to fix a few edge cases spotted by Psalm. [0] https://tus.io/protocols/resumable-upload.html#tus-version Change-Id: Id97a804cb6a214564c304081d50917b1b502ef3c

Modified Files

Name
A src/common/Tus/CannotReadIncomingFileException.php +31 −0 Go to diff View file
M src/common/Tus/TusServer.php +14 −10 Go to diff View file
M src/common/Tus/TusServerException.php +6 −0 Go to diff View file
M tests/phpunit/common/Tus/TusServerTest.php +36 −1 Go to diff View file