Actions
Bug #39637
closedCandlepin 5.0 fails oauth POST with nil body and JSON content type
Description
The CANDLEPIN-1263 fix ([commit eb1910643b](https://github.com/candlepin/candlepin/commit/eb1910643b)) changed `RestEasyOAuthMessage.getParameters()` to guard all HTTP methods from calling `getFormParameters()` when the Content-Type is not `application/x-www-form-urlencoded` (or is null). Previously, only PUT was guarded. This was necessary because RESTEasy 7.0.2 started throwing `RESTEASY003750` for POST requests with non-form content types.
The side effect: an old bug in Katello is suddenly causing OAuth issues. There is a typo in the http_resource for Candlepin that causes headers to be sent in the body instead of the actual headers for POST, PUT, etc. We will fix this from the Katello side.
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11835 added
Updated by Ian Ballou 3 months ago
- Status changed from Ready For Testing to Closed
Actions