Actions
Bug #7378
closedforeman api v2, GET to /api/v2/puppetclasses/foo/smart_class_parameters returns ALL smart class parameters for all puppet classes, if foo is not a valid puppet class
Description
When doing an API GET request to /api/v2/puppetclasses/foo it returns a 404 unless there is a puppet class named foo.
If however, the get request is as follows /api/v2/puppetclasses/foo/smart_class_parameters, if foo is not a puppet class, it will list all the smart class parameters for all puppet classes.
this can be I think dangerous.
Updated by Martin Bacovsky about 10 years ago
- Status changed from New to Assigned
- Assignee set to Martin Bacovsky
- 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/1835 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 28
Updated by Anonymous over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset bc68c48da5b718084c3e531e61e48124e8e00d36.
Actions