Fix the robot pattern to make sure it does a length check

This commit is contained in:
Joseph Schorr 2014-05-20 17:58:39 -04:00
parent c8a450cdf0
commit 701033751e

View file

@ -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 = '';