projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c2bc5eb
)
Make sure --privoxy-address works with IPv6 addresses containing brackets, too
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jul 2011 13:52:11 +0000
(13:52 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 17 Jul 2011 13:52:11 +0000
(13:52 +0000)
tools/privoxy-regression-test.pl
patch
|
blob
|
history
diff --git
a/tools/privoxy-regression-test.pl
b/tools/privoxy-regression-test.pl
index
6e977ac
..
2520799
100755
(executable)
--- 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
#
# 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:
#
#
# Wish list:
#
@@
-1210,8
+1210,9
@@
sub get_page_with_curl ($) {
my $retries_left = get_cli_option('retries') + 1;
my $failure_reason;
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.
# We want to see the HTTP status code
$curl_line .= " --include ";
# Let Privoxy emit two log messages less.