From: Fabian Keil Date: Wed, 10 Jun 2009 13:15:35 +0000 (+0000) Subject: Add tests for trailing dots in hostnames. X-Git-Tag: v_3_0_13~35 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=7d98aef96809d53d40c6954b326b895fb54716a8;p=privoxy.git Add tests for trailing dots in hostnames. --- 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