From: Fabian Keil <fk@fabiankeil.de>
Date: Wed, 29 Jun 2011 18:34:23 +0000 (+0000)
Subject: In load_action_files(), use quote() instead of quoting manually.
X-Git-Tag: v_3_0_18~200
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/developer-manual/static/@default-cgi@show-status?a=commitdiff_plain;h=9f36a5cd42b565b1236068011d67c105004426c2;p=privoxy.git

In load_action_files(), use quote() instead of quoting manually.
---

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 43373772..edb7307f 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.70 2011/05/08 13:30:17 fabiankeil Exp $
+# $Id: privoxy-regression-test.pl,v 1.71 2011/06/23 14:02:53 fabiankeil Exp $
 #
 # Wish list:
 #
@@ -338,7 +338,7 @@ sub load_action_files ($) {
 
     for my $file_number (0 .. @actionfiles - 1) {
 
-        my $curl_url = ' "' . $actionfiles[$file_number] . '"';
+        my $curl_url = quote($actionfiles[$file_number]);
         my $actionfile = undef;
         my $sticky_actions = undef;