From 701033751e68f86d54d96bd23af19e56c476605f Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Tue, 20 May 2014 17:58:39 -0400 Subject: [PATCH] Fix the robot pattern to make sure it does a length check --- static/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/app.js b/static/js/app.js index d6831427d..b20c4b082 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -1,5 +1,5 @@ var TEAM_PATTERN = '^[a-zA-Z][a-zA-Z0-9]+$'; -var ROBOT_PATTERN = '^[a-zA-Z][a-zA-Z0-9]+$'; +var ROBOT_PATTERN = '^[a-zA-Z][a-zA-Z0-9]{3,29}$'; function getRestUrl(args) { var url = '';