[
https://issues.apache.org/activemq/browse/CAMEL-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang resolved CAMEL-1352.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.6.1
2.0.0
> HttpHeaderFilterStrategy tries to filter out "http.requestMethod" but doesn't
> -----------------------------------------------------------------------------
>
> Key: CAMEL-1352
> URL: https://issues.apache.org/activemq/browse/CAMEL-1352
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-http
> Affects Versions: 1.6.0
> Reporter: Trev
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.0.0, 1.6.1
>
>
> I actually found this in 1.5.0, but a quick look in ViewVC indicates that it
> still happens in 1.6.0 and in the trunk.
> HttpHeaderFilterStrategy uses String.toLowerCase on "http.responseCode"
> because of the capital C.
> It should also use toLowerCase on "http.requestMethod" because of the capital
> M, but it doesn't.
> Thus the http.requestMethod header leaks into the HTTP protocol headers.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.