commit e93ef582e237d1ffeec51baaf8aae7ca223bf4bd Merge: 347649c 763ddf0 Author: Zuul Date: Fri Oct 2 15:15:09 2020 +0000 Merge "Fixed empty postlogout uri" diff --cc app/Models/OAuth2/Client.php index 4de60aa,f95ccf7..fb64905 --- a/app/Models/OAuth2/Client.php +++ b/app/Models/OAuth2/Client.php @@@ -1024,9 -1024,10 +1024,12 @@@ class Client extends BaseEntity impleme */ public function isPostLogoutUriAllowed($post_logout_uri) { + if(empty($this->post_logout_redirect_uris)) return false; + if(empty($post_logout_uri)) return false; + if(!filter_var($post_logout_uri, FILTER_VALIDATE_URL)) return false; + if(is_null($this->post_logout_redirect_uris)) return false; + if(empty($this->post_logout_redirect_uris)) return false; $parts = @parse_url($post_logout_uri);