incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r989847 - /incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java
Date Thu, 26 Aug 2010 17:52:30 GMT
Author: kwright
Date: Thu Aug 26 17:52:30 2010
New Revision: 989847

URL: http://svn.apache.org/viewvc?rev=989847&view=rev
Log:
Turn down the cookie path security.  Part of CONNECTORS-97.

Modified:
    incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java

Modified: incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java
URL: http://svn.apache.org/viewvc/incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java?rev=989847&r1=989846&r2=989847&view=diff
==============================================================================
--- incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java
(original)
+++ incubator/lcf/trunk/modules/connectors/webcrawler/connector/org/apache/acf/crawler/connectors/webcrawler/ThrottledFetcher.java
Thu Aug 26 17:52:30 2010
@@ -1426,7 +1426,7 @@ public class ThrottledFetcher
           params.setVirtualHost(host);
         }
         params.setSoTimeout(socketTimeoutMilliseconds);
-        params.setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);
+        params.setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY_MEDIUM_SECURITY);
         params.setParameter(HttpMethodParams.SINGLE_COOKIE_HEADER,new Boolean(true));
         fetchMethod.setParams(params);
         fetchMethod.setFollowRedirects(redirectOK);



Mime
View raw message