Compare commits
2 commits
f56054ecc1
...
c88b1c0197
Author | SHA1 | Date | |
---|---|---|---|
|
c88b1c0197 | ||
|
004e87c986 |
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,7 @@ class System
|
||||||
public static function externalRedirect($url, $code = 302)
|
public static function externalRedirect($url, $code = 302)
|
||||||
{
|
{
|
||||||
if (empty(parse_url($url, PHP_URL_SCHEME))) {
|
if (empty(parse_url($url, PHP_URL_SCHEME))) {
|
||||||
Logger::warning('No fully qualified URL provided', ['url' => $url, 'callstack' => self::callstack(20)]);
|
Logger::warning('No fully qualified URL provided', ['url' => $url]);
|
||||||
DI::baseUrl()->redirect($url);
|
DI::baseUrl()->redirect($url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue