** Branch linked: lp:ubuntu/trusty/gnome-control-center

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1710291

Title:
  Proxy settings "apply system wide" generates the wrong proxy URL ( And
  possible solution )

Status in gnome-control-center package in Ubuntu:
  New

Bug description:
  The settings for the different protocols should generate variable
  values as follows:

  http_proxy=http://HOST:PORT/
  https_proxy=http://HOST:PORT/
  ftp_proxy=http://HOST:PORT/
  socks_proxy=socks://HOST:PORT

  but instead the proxied protocol is used to generate the URL as
  follows:

  http_proxy=http://HOST:PORT/
  https_proxy=https://HOST:PORT/
  ftp_proxy=ftp://HOST:PORT/
  socks_proxy=socks://HOST:PORT

  This breaks apt.conf, webkit applications and every normal app that
  depends on an https_proxy as it's not a common practice to connect to
  a forward proxy over HTTPS


  
  ##### Code ######

  
  The problem seems to be in gnome-control-center, file: 
panels/network/net-proxy.c line 377

   proxy_str = g_strdup_printf ("%s://%s:%i/", protocol, host, port);

  I believe this should instead look like:

   proxy_str = g_strdup_printf ("%s://%s:%i/", (protocol ==
  "socks")?"socks":"http", host, port);

  
  I would be happy to try it out but I can't find the repository where the 
ubuntu-specific patches live, if someone could help me with that I can submit 
the patch myself

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1710291/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to