X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=tools%2Furl-pattern-translator.pl;h=0653e7676ac58c8d830e15f3148897bc3ee32e0e;hp=09a2a247f9ff8fde8e8f40c291b7af7aa34e3f40;hb=54871a1a07f84001abb545bcb5bd06339fff7407;hpb=0665a8176240ed4bf38f65680ffaab6e08b70720 diff --git a/tools/url-pattern-translator.pl b/tools/url-pattern-translator.pl index 09a2a247..0653e767 100755 --- a/tools/url-pattern-translator.pl +++ b/tools/url-pattern-translator.pl @@ -18,8 +18,6 @@ # Only convert your files once, or, as RoboCop used to say, # there will be... trouble. # -# $Id: url-pattern-translator.pl,v 1.2 2008/08/10 16:35:47 fabiankeil Exp $ -# # Copyright (c) 2008 Fabian Keil # # Permission to use, copy, modify, and distribute this software for any @@ -63,7 +61,7 @@ sub convert_host_pattern ($) { } # Match-all syntax has changed ... - $hp =~ s@\*@.*@g; + $hp =~ s@\*@[^.]*@g; # Extended host patterns are right-anchored by default $hp =~ s@\.$@(\..*)?@;