]> source.dussan.org Git - redmine.git/commit
Return 406 status code instead of 500 when API request has an invalid format (#34766).
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 30 Jan 2022 13:39:06 +0000 (13:39 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 30 Jan 2022 13:39:06 +0000 (13:39 +0000)
commit9f6d8711e767a5a4b57cb05f3ad175e3d675d05b
tree3d0a67b2a6e8f221e75d6c01783a6807a363ee9d
parentca3f4d0e0ad1608c705d908fbed3ffdb1175fb1e
Return 406 status code instead of 500 when API request has an invalid format (#34766).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@21392 e93f8b46-1217-0410-a6f0-8f06a7374b81
lib/redmine/views/builders.rb