Add tests for trailing dots in hostnames.
authorFabian Keil <fk@fabiankeil.de>
Wed, 10 Jun 2009 13:15:35 +0000 (13:15 +0000)
committerFabian Keil <fk@fabiankeil.de>
Wed, 10 Jun 2009 13:15:35 +0000 (13:15 +0000)
regression-tests.action

index 13a881f..b650025 100644 (file)
@@ -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