How about a real fix?

Change line 641 
from:          my($host,$uri) = ($path =~ m#^/?([^/]+)(/.+)#);
To:             my($host,$uri) = ($path =~ m#^/?(?:.*\:\/\/)?([^/]+)(/.+)#);

This will strip the protocol portion of the URL if it exists.  This will
allow you to easily do a new install through the apt-cacher proxy as
well as support older versions of ubuntu and debian.

-- 
Can't connect to proxy
https://launchpad.net/bugs/47928

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to