[git] GnuPG - branch, master, updated. gnupg-2.1.8-84-gea079d2
by Andre Heinecke
cvs at cvs.gnupg.org
Thu Oct 8 19:14:40 CEST 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, master has been updated
via ea079d283de6bf4ac70d7530fac70938e7c5e8f5 (commit)
from 2eee29253d5940e6da9cb2f44e9c44033675ec12 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit ea079d283de6bf4ac70d7530fac70938e7c5e8f5
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Fri Sep 25 11:43:16 2015 +0200
dirmngr: Default to http protocol for http-proxy
* common/http.c (send_request): Fix handling for hostname:port string.
--
The first pass to parse_uri should already do a scheme check so
that a hostname:port string is detected as invlaid and the retry
code actually takes effect and adds a http://
GnuPG-bug-id: 2109
diff --git a/common/http.c b/common/http.c
index be5bd30..edd8a6d 100644
--- a/common/http.c
+++ b/common/http.c
@@ -1513,7 +1513,7 @@ send_request (http_t hd, const char *httphost, const char *auth,
if (proxy)
http_proxy = proxy;
- err = parse_uri (&uri, http_proxy, 1, 0);
+ err = parse_uri (&uri, http_proxy, 0, 0);
if (gpg_err_code (err) == GPG_ERR_INV_URI
&& is_hostname_port (http_proxy))
{
-----------------------------------------------------------------------
Summary of changes:
common/http.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list