From 4654eae4e26c95e8a280a09c2aeed798d217da56 Mon Sep 17 00:00:00 2001 From: theli Date: Tue, 16 Aug 2005 11:33:31 +0000 Subject: [PATCH] *) adding php Session ID to argument in funktion isCGI See: http://www.yacy-forum.de/viewtopic.php?p=7671#7671 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@546 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaHTCache.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/de/anomic/plasma/plasmaHTCache.java b/source/de/anomic/plasma/plasmaHTCache.java index 0c2dee486..fe1f25413 100644 --- a/source/de/anomic/plasma/plasmaHTCache.java +++ b/source/de/anomic/plasma/plasmaHTCache.java @@ -413,10 +413,11 @@ public final class plasmaHTCache { public static boolean isCGI(String urlString) { String ls = urlString.toLowerCase(); - return ((ls.indexOf(".cgi") >= 0) || - (ls.indexOf(".exe") >= 0) || + return ((ls.indexOf(".cgi") >= 0) || + (ls.indexOf(".exe") >= 0) || (ls.indexOf(";jsessionid=") >= 0) || - (ls.indexOf("sessionid/") >= 0)); + (ls.indexOf("sessionid/") >= 0) || + (ls.indexOf("PHPSESSID=") >= 0)); } public Entry newEntry(Date initDate, int depth, URL url, String name,