Blob Blame History Raw
From 87253c999d5628a6e9287bb0cc613d7b44bcec09 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 27 Aug 2023 12:39:22 +0200
Subject: [PATCH] Add a regression test for left-anchored path patterns

---
 regression-tests.action | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/regression-tests.action b/regression-tests.action
index 9d419917..92b4388b 100644
--- a/regression-tests.action
+++ b/regression-tests.action
@@ -1157,3 +1157,8 @@ PCRE-HOST-PATTERN:^a{3}\.example\.org$
 # Blocked URL = http://bbb.example.org/
 # Level = 26
 PCRE-HOST-PATTERN:^(bbb|ccc|ddd)\.example\.org$
+
+{+block{Block should not apply because the path pattern is left-anchored}}
+# Sticky Actions = -block
+# URL = http://www.example.org/tralala/blafasel
+www.example.org/blafasel
-- 
2.39.2