mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 16:14:26 +02:00
Improved url detection for redirects
This commit is contained in:
parent
1bd38d1f10
commit
4a1f9a9bdd
2 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ class Magic extends BaseModule
|
|||
}
|
||||
|
||||
if (!$cid) {
|
||||
Logger::log('No contact record found: ' . print_r($_REQUEST, true), Logger::DEBUG);
|
||||
Logger::log('No contact record found: ' . json_encode($_REQUEST), Logger::DEBUG);
|
||||
// @TODO Finding a more elegant possibility to redirect to either internal or external URL
|
||||
$a->redirect($dest);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue