[gnome-terminal] Use 'http' scheme for the ftp_proxy env var
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Use 'http' scheme for the ftp_proxy env var
- Date: Tue, 10 Aug 2010 12:48:23 +0000 (UTC)
commit 7a6d72301936ce10567d1dbbdb5a10cbe6eb43f8
Author: Christian Persch <chpe gnome org>
Date: Tue Aug 10 14:47:18 2010 +0200
Use 'http' scheme for the ftp_proxy env var
Bug #624440.
src/terminal-util.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-util.c b/src/terminal-util.c
index d25efcd..10a65d8 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -670,7 +670,8 @@ setup_ftp_proxy_env (GHashTable *env_table,
if (host && port)
{
char *proxy;
- proxy = g_strdup_printf ("ftp://%s:%d/", host, port);
+ /* Even though it's ftp, the proxy scheme is 'http'. See bug #624440. */
+ proxy = g_strdup_printf ("http://%s:%d/", host, port);
set_proxy_env (env_table, "ftp_proxy", proxy);
}
g_free (host);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]