Fix the robot pattern to make sure it does a length check
This commit is contained in:
parent
c8a450cdf0
commit
701033751e
1 changed files with 1 additions and 1 deletions
|
@ -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 = '';
|
||||
|
|
Reference in a new issue