Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.0
-
None
-
Unknown
Description
HttpRestHeaderFilterStrategy is used by HTTP producers and it delegates to applyFilterToExternalHeaders from superclass, which filters in the IN direction instead of in the OUT direction.
This leads to an issue when HTTP consumer is followed by a HTTP producer created from the RestProducerFactory implementation in that the HTTP headers that are meant to be filtered out are passed on to the HTTP service being invoked.
These headers include Host header which is used for virtual hosting and will most likely fail the request with 404 or 503 HTTP status.
Attachments
Attachments
Issue Links
- links to