camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r745372 - in /camel/branches/camel-1.x: ./ camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
Date Wed, 18 Feb 2009 03:45:48 GMT
Author: ningjiang
Date: Wed Feb 18 03:45:47 2009
New Revision: 745372

URL: http://svn.apache.org/viewvc?rev=745372&view=rev
Log:
Merged revisions 745367 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r745367 | ningjiang | 2009-02-18 11:04:06 +0800 (Wed, 18 Feb 2009) | 1 line
  
  CAMEL-1352 set the filter with lowcase string
........

Modified:
    camel/branches/camel-1.x/   (props changed)
    camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java
    camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java

Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Wed Feb 18 03:45:47 2009
@@ -1 +1 @@
-/camel/trunk:739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105
+/camel/trunk:739733,739904,740251,740295,740306,740596,740663,741848,742231,742705,742739,742854,742856,742898,742906,743613,743762,743773,743920,743959-743960,744123,745105,745367

Propchange: camel/branches/camel-1.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java?rev=745372&r1=745371&r2=745372&view=diff
==============================================================================
--- camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java
(original)
+++ camel/branches/camel-1.x/camel-core/src/main/java/org/apache/camel/impl/DefaultHeaderFilterStrategy.java
Wed Feb 18 03:45:47 2009
@@ -238,7 +238,7 @@
         }
             
         if (filter != null) {
-            if (isLowercase) {
+            if (isLowercase()) {
                 if (filter.contains(headerName.toLowerCase())) {
                     return true;
                 }

Modified: camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java?rev=745372&r1=745371&r2=745372&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
(original)
+++ camel/branches/camel-1.x/components/camel-http/src/main/java/org/apache/camel/component/http/HttpHeaderFilterStrategy.java
Wed Feb 18 03:45:47 2009
@@ -31,8 +31,8 @@
     protected void initialize() {
         getOutFilter().add("content-length");
         getOutFilter().add("content-type");
-        getOutFilter().add(GZIPHelper.CONTENT_ENCODING);
-        getOutFilter().add(HttpMethods.HTTP_METHOD);
+        getOutFilter().add(GZIPHelper.CONTENT_ENCODING.toLowerCase());
+        getOutFilter().add(HttpMethods.HTTP_METHOD.toLowerCase());
         getOutFilter().add(HttpProducer.QUERY);
         getOutFilter().add(HttpProducer.HTTP_RESPONSE_CODE.toLowerCase());
         setIsLowercase(true);



Mime
View raw message