Bug #7756
closed
API error message can expose too much internal information
Added by Ohad Levy about 10 years ago.
Updated over 6 years ago.
Description
for example, GET /api/v2/hosts/123 returns:
"message": "Couldn't find Host::Managed with id=123 [WHERE `hosts`.`type` IN ('Host::Managed')]",
"class": "ActiveRecord::RecordNotFound"
}
maybe relates to friendly_id ?
- Related to Feature #4386: implement gem friendly_id to simply find by id, name, label, etc added
- Translation missing: en.field_release set to 21
- Status changed from New to Assigned
- Assignee set to Joseph Magen
- Target version set to 1.7.2
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1812 added
- Pull request deleted (
)
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF