projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
try to gather more info on disappearing nodes
[spider.git]
/
perl
/
DXDb.pm
diff --git
a/perl/DXDb.pm
b/perl/DXDb.pm
index 2122234bf8fe9d8c8a6025d73707a3e49d698ab9..833640f5862b2d5dfa75a7b1666a35e53336ab6e 100644
(file)
--- a/
perl/DXDb.pm
+++ b/
perl/DXDb.pm
@@
-156,6
+156,10
@@
sub getkey
my $key = uc shift;
my $value;
my $key = uc shift;
my $value;
+ # massage the key
+ $key =~ s/[\@\$\&\%\*]+//g;
+ $key =~ s/^[\.\/]+//g;
+
# make sure we are open
$self->open;
if ($self->{localcmd}) {
# make sure we are open
$self->open;
if ($self->{localcmd}) {
@@
-273,7
+277,7
@@
sub handle_45
# incoming DB Information
my $n = getstream($_[3]);
if ($n) {
# incoming DB Information
my $n = getstream($_[3]);
if ($n) {
- my $mchan = DXChannel
->
get($n->{call});
+ my $mchan = DXChannel
::
get($n->{call});
$mchan->send($_[2] . ":$_[4]") if $mchan;
}
}
$mchan->send($_[2] . ":$_[4]") if $mchan;
}
}