[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#255742: doesn't honor no_proxy environment variable



tags #255742 patch
thanks

On Tue, Jun 22, 2004 at 08:14:54PM +0200, Marc Haber wrote:
> I have a script snippet in my .xsession file that sets http_proxy,
> ftp_proxy and no_proxy. When I configure konqueror for "Use preset
> proxy environment variables", it detects http_proxy and ftp_proxy just
> fine, and activating the "show the value of the environment variables"
> check box shows the exact values that are set in my .xsession script
> and nowhere else.
> 
> However, the no_proxy variable is neither detected automatically, nor
> does its contents show up in the "NO PROXY" field, nor is its contents
> honored.

This patchlet seems to solve the issue.

--- kdebase-3.2.2.orig/kcontrol/kio/kenvvarproxydlg.cpp
+++ kdebase-3.2.2/kcontrol/kio/kenvvarproxydlg.cpp
@@ -39,7 +39,7 @@
 #define ENV_FTP_PROXY     "FTP_PROXY,ftp_proxy,FTPPROXY,ftpproxy,PROXY,proxy"
 #define ENV_HTTP_PROXY    "HTTP_PROXY,http_proxy,HTTPPROXY,httpproxy,PROXY,proxy"
 #define ENV_HTTPS_PROXY   "HTTPS_PROXY,https_proxy,HTTPSPROXY,httpsproxy,PROXY,proxy"
-#define NO_PROXY          "NO_PROXY, no_proxy"
+#define NO_PROXY          "NO_PROXY,no_proxy"
 
 
 KEnvVarProxyDlg::KEnvVarProxyDlg( QWidget* parent, const char* name )

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29



Reply to: