diff --git a/htroot/autoconfig.pac b/htroot/autoconfig.pac index 1c575f4dd..72c26ab36 100644 --- a/htroot/autoconfig.pac +++ b/htroot/autoconfig.pac @@ -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"; } } \ No newline at end of file