From 11691f244f27a8d9906517df515af0f1e8c656c4 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 9 Jun 2014 12:59:10 +0200 Subject: [PATCH] Add a few more reserved words --- public/vroom.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/vroom.pl b/public/vroom.pl index 43d868e..4557d33 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -344,7 +344,8 @@ helper valid_room_name => sub { my ($name) = @_; my $ret = undef; # A few names are reserved - my @reserved = qw(about help feedback feedback_thanks goodbye admin create localize action missing dies password kicked invitation); + my @reserved = qw(about help feedback feedback_thanks goodbye admin create localize action + missing dies password kicked invitation js css img fonts snd); if ($name =~ m/^[\w\-]{1,49}$/ && !grep { $name eq $_ } @reserved){ $ret = 1; }