mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
5ce81cc9be
commit
fdd5f64984
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@
|
|||
|
||||
// Remove dangerous characters
|
||||
$command = str_replace('&&', '', $command);
|
||||
$command = str_replace('rtmp://live/', 'rtmp://vlu.me/', $command);
|
||||
|
||||
// Remove existing log file redirection (e.g., '> /path/to/log 2>&1' or '> /path/to/log')
|
||||
$command = preg_replace('/\s*>.*(?:2>&1)?/', '', $command);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue