Project

General

Profile

Actions

Bug #3587

closed

invalid JSON returns 500 server error

Added by Ohad Levy about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
API
Target version:
Difficulty:
medium
Triaged:
Fixed in Releases:
Found in Releases:

Description

When a user sends an invalid JSON, the server respond with 500 error, and even worse, with html!


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #2855: API authentication controller does not fail gracefullyClosedOhad Levy07/29/2013Actions
Actions

Also available in: Atom PDF