X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=tools%2Fprivoxy-regression-test.pl;h=2520799925e7a5fb66bea225b6ad35160c76256e;hb=89109daf604e0df9355fc49ae82e26baf1a47da0;hp=6e977ac6959158f93d4b7f6d6354be366b0d4131;hpb=11cbaaf48573091fcf92afd14724db780be75b9d;p=privoxy.git diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl index 6e977ac6..25207999 100755 --- a/tools/privoxy-regression-test.pl +++ b/tools/privoxy-regression-test.pl @@ -7,7 +7,7 @@ # A regression test "framework" for Privoxy. For documentation see: # perldoc privoxy-regression-test.pl # -# $Id: privoxy-regression-test.pl,v 1.75 2011/06/29 18:36:24 fabiankeil Exp $ +# $Id: privoxy-regression-test.pl,v 1.212 2011/07/17 13:49:52 fk Exp $ # # Wish list: # @@ -1210,8 +1210,9 @@ sub get_page_with_curl ($) { my $retries_left = get_cli_option('retries') + 1; my $failure_reason; - $curl_line .= ' --proxy ' . $proxy if (defined $proxy); - + if (defined $proxy) { + $curl_line .= ' --proxy ' . quote($proxy); + } # We want to see the HTTP status code $curl_line .= " --include "; # Let Privoxy emit two log messages less.