X-Git-Url: http://www.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FSpot.pm;h=f6b14564ff98cc86ea2b537830274e453d1f7ff5;hb=0c963c43ab1cc4028eb79e366d5c0cfa4575b057;hp=7fcba6d1d045a005d0693306a72b0d3a2307b9f3;hpb=3b2eb091ae215e58128e4c73508ec58c6aba4e76;p=spider.git diff --git a/perl/Spot.pm b/perl/Spot.pm index 7fcba6d1..f6b14564 100644 --- a/perl/Spot.pm +++ b/perl/Spot.pm @@ -403,7 +403,7 @@ sub dup $text =~ s/\%([0-9A-F][0-9A-F])/chr(hex($1))/eg; $text = uc unpad($text); if ($cty && $text && length $text <= 4) { - unless ($text =~ /^C?Q/ || $text =~ /^\d+$/) { + unless ($text =~ /^C?Q/ || $text =~ /^\d+$/ || $text =~ /\s/) { my @try = Prefix::cty_data($text); $text = "" if $cty == $try[0]; }