camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trev (JIRA)" <j...@apache.org>
Subject [jira] Created: (CAMEL-1352) HttpHeaderFilterStrategy tries to filter out "http.requestMethod" but doesn't
Date Wed, 18 Feb 2009 02:32:59 GMT
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
            Priority: Minor


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.


Mime
View raw message