Commit 7bc6d4e2 authored by Mike Hibler's avatar Mike Hibler

Node names can contain a '-'!

parent 7e70f590
......@@ -57,7 +57,7 @@ sub Lookup($$)
if (exists($nodes{$nodeid}));
return undef
if (! ($nodeid =~ /^\w+$/));
if (! ($nodeid =~ /^[-\w]+$/));
my $query_result =
DBQueryWarn("select * from nodes as n ".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment