[
https://issues.apache.org/activemq/browse/CAMEL-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49729#action_49729
]
Willem Jiang commented on CAMEL-1352:
-------------------------------------
Patch applied with thank to Trev.
trunk :
http://svn.apache.org/viewvc?rev=745367&view=rev
1.x branch:
http://svn.apache.org/viewvc?rev=745372&view=rev
> 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.