Actions
Bug #7756
closedAPI error message can expose too much internal information
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" }
Updated by Dominic Cleal about 10 years ago
- Related to Feature #4386: implement gem friendly_id to simply find by id, name, label, etc added
Updated by Dominic Cleal about 10 years ago
- Translation missing: en.field_release set to 21
Updated by Joseph Magen about 10 years ago
- Status changed from New to Assigned
- Assignee set to Joseph Magen
- Target version set to 1.7.2
Updated by The Foreman Bot about 10 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/1812 added
- Pull request deleted (
)
Updated by Joseph Magen about 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 4915f571df374504502a1df2b17a22e17b41a73b.
Actions