mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
e22beec9a8
commit
e6b5e037e9
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue