]> source.dussan.org Git - gitea.git/commit
Return 400 but not 500 when request archive with wrong format (#17691)
authorLunny Xiao <xiaolunwen@gmail.com>
Wed, 17 Nov 2021 19:47:35 +0000 (03:47 +0800)
committerGitHub <noreply@github.com>
Wed, 17 Nov 2021 19:47:35 +0000 (14:47 -0500)
commit81a4fc752833101dd7d6b4f612bccc4b29c98dff
tree3fc851bbdbebf63a3c684791368c33efaf077005
parentd8a8961b99adc1554c218fee474535d4f302bd11
Return 400 but not 500 when request archive with wrong format (#17691)
integrations/api_repo_archive_test.go [new file with mode: 0644]
routers/web/repo/repo.go
services/archiver/archiver.go
services/archiver/archiver_test.go