1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
This commit is contained in:
Daniel Neto 2023-11-01 14:56:17 -03:00
parent e22beec9a8
commit e6b5e037e9

View file

@ -569,6 +569,9 @@ class Message implements MessageComponentInterface {
}
static function isValidSelfURI($selfURI){
if(preg_match('/MobileYPT\/getConfiguration\.json\.php/', $selfURI)){
return true;
}
if(preg_match('/\.json/i', $selfURI)){
return false;
}