From 48b0890a8b97ca6b0013b8e53eca3e5d75968380 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Fri, 22 Dec 2017 18:05:39 +0100 Subject: T504: Switch off cURL "URL globbing parser" --- scripts/vyatta-commit-push.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/vyatta-commit-push.pl') 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"; } -- cgit v1.2.3