From 7d98aef96809d53d40c6954b326b895fb54716a8 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 10 Jun 2009 13:15:35 +0000 Subject: [PATCH] Add tests for trailing dots in hostnames. --- regression-tests.action | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/regression-tests.action b/regression-tests.action index 13a881f9..b650025c 100644 --- a/regression-tests.action +++ b/regression-tests.action @@ -1,5 +1,5 @@ ############################################################################# -# $Id: regression-tests.action,v 1.24 2009/05/27 20:37:15 fabiankeil Exp $ +# $Id: regression-tests.action,v 1.25 2009/05/28 21:38:13 fabiankeil Exp $ ############################################################################# # # This is a configuration file for Privoxy-Regression-Test @@ -776,6 +776,11 @@ www.blocked-request.example/blocked-request-with-no-reason-specified # Blocked URL = http://domain-pattern-test.example.org/ domain-pattern-test.example. +{+block{Hostname patterns without trailing dots cover hostnames with trailing dots as well.}} +# Blocked URL = http://trailing-dot.example.org./ +# Blocked URL = http://trailing-dot.example.org./foo +trailing-dot.example.org + # Just in case there is no white-space fuzzer in the house ... # # Set Header = X-LWS-Test: no superfluous white space here -- 2.39.2