mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-22 09:14:38 -04:00
Partial bugfix for http://www.yacy-forum.de/viewtopic.php?p=9507
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@692 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
@ -4,7 +4,11 @@ function FindProxyForURL(url,host) {
|
||||
{
|
||||
return "DIRECT";
|
||||
|
||||
} else {
|
||||
}
|
||||
else if (url.substring(0, 4) == "ftp:") {
|
||||
return "DIRECT";
|
||||
}
|
||||
else {
|
||||
return "PROXY #[host]#:#[port]#, DIRECT";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user