Issue 6168: "redir" now mostly use OWA
This commit is contained in:
parent
89f5a9c550
commit
491fc5f78a
6 changed files with 34 additions and 10 deletions
|
@ -561,11 +561,7 @@ function dfrn_poll_content(App $a)
|
|||
break;
|
||||
default:
|
||||
$appendix = (strstr($destination_url, '?') ? '&f=&redir=1' : '?f=&redir=1');
|
||||
if (filter_var($url, FILTER_VALIDATE_URL)) {
|
||||
System::externalRedirect($destination_url . $appendix);
|
||||
} else {
|
||||
$a->internalRedirect($destination_url . $appendix);
|
||||
}
|
||||
$a->redirect($destination_url . $appendix);
|
||||
break;
|
||||
}
|
||||
// NOTREACHED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue