[Privoxy-commits] [privoxy] 01/07: Privoxy-Regression-Test: Include the offending line in the error message

User Git git at git.privoxy.org
Mon Apr 20 15:58:37 CEST 2026


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 4b49762f8d6c4a36e248db1993273c6014ff7f92
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sun Apr 12 18:45:55 2026 +0200

    Privoxy-Regression-Test: Include the offending line in the error message
    
    ... when rejecting Sticky Actions with whitespace inside the action parameters.
---
 tools/privoxy-regression-test.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/privoxy-regression-test.pl b/tools/privoxy-regression-test.pl
index 37fd8aa1..1a824005 100755
--- a/tools/privoxy-regression-test.pl
+++ b/tools/privoxy-regression-test.pl
@@ -206,7 +206,7 @@ sub load_regression_tests_from_file($) {
             $sticky_actions = $value;
             if ($sticky_actions =~ /{[^}]*\s/) {
                 log_and_die("'Sticky Actions' with whitespace inside the " .
-                            "action parameters are currently unsupported.");
+                            "action parameters are currently unsupported: '$_'");
             }
         }
 
@@ -577,7 +577,7 @@ sub load_action_files($) {
                 $sticky_actions = $value;
                 if ($sticky_actions =~ /{[^}]*\s/) {
                     log_and_die("'Sticky Actions' with whitespace inside the " .
-                                "action parameters are currently unsupported.");
+                                "action parameters are currently unsupported: '$_'");
                 }
             }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list