1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 12:00:06 +02:00
This commit is contained in:
DanieL 2022-07-06 20:18:45 -03:00
parent 595e45ae62
commit 09faf94e33

View file

@ -2873,7 +2873,7 @@ function forbidIfRequestDoesNotComesFromSameDomainAsMyAVideo(){
global $global; global $global;
if(empty($global['bypassSameDomainCheck']) && !requestComesFromSameDomainAsMyAVideo()){ if(empty($global['bypassSameDomainCheck']) && !requestComesFromSameDomainAsMyAVideo()){
_error_log('forbidIfRequestDoesNotComesFromSameDomainAsMyAVideo: '. json_encode(debug_backtrace()), AVideoLog::$SECURITY); _error_log('forbidIfRequestDoesNotComesFromSameDomainAsMyAVideo: '. json_encode(debug_backtrace()), AVideoLog::$SECURITY);
forbiddenPage('The request must come from same domain', true); forbiddenPage('Invalid Request '. getRealIpAddr(), true);
} }
} }