Added dash to permissible characters in stream name
This commit is contained in:
parent
6b9e9d0c3b
commit
75642d6d73
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ void Util::sanitizeName(std::string &streamname){
|
|||
streamname.erase(i, streamname.end());
|
||||
break;
|
||||
}
|
||||
if (!isalpha(*i) && !isdigit(*i) && *i != '_' && *i != '.'){
|
||||
if (!isalpha(*i) && !isdigit(*i) && *i != '_' && *i != '.' && *i != '-'){
|
||||
streamname.erase(i);
|
||||
}else{
|
||||
*i = tolower(*i);
|
||||
|
|
Loading…
Add table
Reference in a new issue