summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/globals.pl b/globals.pl
index 81efb4745..736cb431a 100644
--- a/globals.pl
+++ b/globals.pl
@@ -695,6 +695,7 @@ sub DBname_to_id {
sub DBNameToIdAndCheck {
my ($name, $forceok) = (@_);
+ $name = html_quote($name);
my $result = DBname_to_id($name);
if ($result > 0) {
return $result;