mirror of
https://github.com/r4sas/recastin-panel
synced 2025-09-01 16:32:08 +00:00
Added more characters to streamKey check
This commit is contained in:
parent
aac20784cc
commit
f87b1efe56
File diff suppressed because one or more lines are too long
@ -317,6 +317,6 @@ class Streams extends Controller
|
|||||||
*/
|
*/
|
||||||
private function isValidString(?string $string)
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user