[MEDIA] Fix trying to display file wich is not available locally
This commit is contained in:
committed by
Diogo Cordeiro
parent
04d1caff78
commit
da82048d77
@@ -83,6 +83,10 @@ class StoreRemoteMediaPlugin extends Plugin
|
||||
|
||||
$remoteUrl = $file->getUrl();
|
||||
|
||||
if (empty($remoteUrl)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!$this->checkWhiteList($remoteUrl) ||
|
||||
!$this->checkBlackList($remoteUrl)) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user