From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 7 Jun 2020 08:06:20 +0000 (+0200)
Subject: privoxy-regression-test.pl: Turn curl's globbing mode off so we can allow more charac... 
X-Git-Tag: v_3_0_29~305
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@edit-actions-add-url-form?a=commitdiff_plain;h=cd1f43b2bd1d09c8e5a988a7bb2a0284a486f3e6;p=privoxy.git

privoxy-regression-test.pl: Turn curl's globbing mode off so we can allow more characters in URLs
---

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 231aa9bc..292ee78c 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -1452,6 +1452,8 @@ sub get_page_with_curl ($) {
     $curl_line .= " --user-agent '" . PRT_VERSION . "' ";
     # We aren't too patient
     $curl_line .= " --max-time '" . get_cli_option('max-time') . "' ";
+    # We don't want curl to treat "[]", "{}" etc. special
+    $curl_line .= " --globoff ";
 
     $curl_line .= $parameters;
     # XXX: still necessary?