Added "." and "-" support in stream names for the interface. API already supported it
This commit is contained in:
parent
0db153b7b9
commit
5d0861d5ca
2 changed files with 9 additions and 9 deletions
|
@ -1232,9 +1232,9 @@ var UI = {
|
|||
classes: ['red']
|
||||
};
|
||||
}
|
||||
if (val.replace(/[^\da-z_]/g,'') != val) {
|
||||
if (val.replace(/[^\da-z_\-\.]/g,'') != val) {
|
||||
return {
|
||||
msg: 'Special characters (except for underscores) are not allowed.',
|
||||
msg: 'Special characters (except for underscores (_), periods (.) and dashes (-)) are not allowed.',
|
||||
classes: ['red']
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue