*) 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
This commit is contained in:
theli 2005-08-16 11:33:31 +00:00
parent 8c62fb49ba
commit 4654eae4e2

View File

@ -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,