projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to prevent $myalias calls being set to nodes
[spider.git]
/
perl
/
Spot.pm
diff --git
a/perl/Spot.pm
b/perl/Spot.pm
index f6b14564ff98cc86ea2b537830274e453d1f7ff5..9019bb5b92dbfb6f8a0f0729de336d769918f999 100644
(file)
--- 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) {
$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+$/ || $text =~ /\s
/) {
+ unless ($text =~ /^C?Q/ || $text =~ /^
[\d\W]+$
/) {
my @try = Prefix::cty_data($text);
$text = "" if $cty == $try[0];
}
my @try = Prefix::cty_data($text);
$text = "" if $cty == $try[0];
}