mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
remove unecessary error
This commit is contained in:
parent
91de769585
commit
5daa8640cb
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ if (!empty($_POST['base64Url'])) {
|
|||
foreach ($filterURL as $key => $value) {
|
||||
if (!empty($_GET[$value])) {
|
||||
if (!filter_var($_GET[$value], FILTER_VALIDATE_URL) || !preg_match("/^http.*/i", $_GET[$value])) {
|
||||
_error_log($value.' attack ' . json_encode($_SERVER), AVideoLog::$SECURITY);
|
||||
//_error_log($value.' attack ' . json_encode($_SERVER), AVideoLog::$SECURITY);
|
||||
unset($_GET[$value]);
|
||||
}else{
|
||||
$_GET[$value] = str_replace(array("'",'"',"<",">"), array("","","",""), $_GET[$value]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue