summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2017-12-22 18:05:39 +0100
committerChristian Poessinger <christian@poessinger.com>2017-12-22 18:06:24 +0100
commit48b0890a8b97ca6b0013b8e53eca3e5d75968380 (patch)
treeb241325c22c83187d47324a15e5f5e57e4f8d2c5
parentfa9d8506c54edac29a290eab026740d06e234630 (diff)
downloadvyatta-config-mgmt-lithium.tar.gz
vyatta-config-mgmt-lithium.zip
T504: Switch off cURL "URL globbing parser"lithium
-rw-r--r--debian/changelog7
-rwxr-xr-xscripts/vyatta-commit-push.pl4
2 files changed, 9 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 2e9ca26..134e7f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+vyatta-config-mgmt (0.34+vyos2+current2) unstable; urgency=medium
+
+ [ Christian Poessinger }
+ * Switch off cURL "URL globbing parser" (T504)
+
+ -- Christian Poessinger <christian@poessinger.com> Fri, 22 Dec 2017 18:03:57 +0100
+
vyatta-config-mgmt (0.34+vyos2+current1) unstable; urgency=medium
[ Thomas Jepp ]
diff --git a/scripts/vyatta-commit-push.pl b/scripts/vyatta-commit-push.pl
index 1398533..17332d0 100755
--- a/scripts/vyatta-commit-push.pl
+++ b/scripts/vyatta-commit-push.pl
@@ -86,7 +86,7 @@ foreach my $uri (@uris) {
my $rc = 0;
if ($scheme =~ /^(scp|sftp)$/ ){
- $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file";
+ $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file";
$rc = system($cmd);
if( $rc >> 8 == 51 ){
my $rsa_key = `ssh-keyscan -t rsa $host 2>/dev/null`;
@@ -100,7 +100,7 @@ foreach my $uri (@uris) {
or die "Cannot open known_hosts: $!";
print $known_hosts "$rsa_key\n";
close($known_hosts);
- $cmd = "curl -s -S -T $tmp_push_file $uri/$save_file";
+ $cmd = "curl -g -s -S -T $tmp_push_file $uri/$save_file";
$rc = system($cmd);
print "\n";
}