mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
Fix type error when referer is null #2493
This commit is contained in:
parent
97762fa43d
commit
f4e5a0f21c
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ class Session
|
|||
\Context::displayErrorPage('SSO Error', 'ERR_INVALID_SSO_REQUEST', 400);
|
||||
exit;
|
||||
}
|
||||
if (!URL::isInternalUrl($sso_request) || !URL::isInternalURL($_SERVER['HTTP_REFERER']))
|
||||
if (!URL::isInternalUrl($sso_request) || !URL::isInternalURL($_SERVER['HTTP_REFERER'] ?? ''))
|
||||
{
|
||||
\Context::displayErrorPage('SSO Error', 'ERR_INVALID_SSO_REQUEST', 400);
|
||||
exit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue