1
0
mirror of https://github.com/r4sas/recastin-panel synced 2025-08-31 07:52:13 +00:00

Added more characters to streamKey check

This commit is contained in:
Shyim 2018-05-09 23:11:08 +02:00
parent aac20784cc
commit f87b1efe56
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -317,6 +317,6 @@ class Streams extends Controller
*/
private function isValidString(?string $string)
{
return preg_match('/^[a-z|A-Z|a-z|A-Z|0-9|.|\-|_|\{|\}|\:|\/]+$/', $string);
return preg_match('/^[a-z|A-Z|a-z|A-Z|0-9|.|\-|_|\{|\}|\:|\/|=|&|?]+$/m', $string);
}
}