Allow '.' in module names, because why not?
This commit is contained in:
parent
bb79a21849
commit
a0703c04a1
@ -138,7 +138,7 @@ sub new_module {
|
|||||||
$mode = "id = ?";
|
$mode = "id = ?";
|
||||||
|
|
||||||
# names are just alphanumerics
|
# names are just alphanumerics
|
||||||
} elsif($arg =~ /^[a-zA-Z0-9]+$/) {
|
} elsif($arg =~ /^[a-zA-Z0-9.]+$/) {
|
||||||
$mode = "name LIKE ?";
|
$mode = "name LIKE ?";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user