[Pkg-privacy-commits] [msva-perl] 248/356: accept trailing slashes on http-proxy
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:42:01 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository msva-perl.
commit 376c2fcb9b0a2c439f8f865a3a4808187584681d
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date: Mon Dec 20 04:13:30 2010 -0500
accept trailing slashes on http-proxy
---
gpgkeys_hkpms | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gpgkeys_hkpms b/gpgkeys_hkpms
index 9d50554..03a79f2 100755
--- a/gpgkeys_hkpms
+++ b/gpgkeys_hkpms
@@ -49,7 +49,7 @@ use warnings;
$self->{actually_check} = 1;
} elsif ($opt =~ /^http-proxy=(.*)/) {
my $hp = $1;
- if ($hp =~ /^(socks|http|https):\/\/($RE{net}{domain}|$RE{net}{IPv4}):([[:digit:]]+)$/) {
+ if ($hp =~ /^(socks|http|https):\/\/($RE{net}{domain}|$RE{net}{IPv4}):([[:digit:]]+)\/?$/) {
if ('socks' eq $1) {
if ( ! Module::Load::Conditional::check_install(module => 'LWP::Protocol::socks')) {
$self->{logger}->log('error', "Requesting a socks proxy for hkpms, but LWP::Protocol::socks is not installed.\nThis will likely fail.\n");
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/msva-perl.git
More information about the Pkg-privacy-commits
mailing list