Hash tag links now do a redir
This commit is contained in:
parent
f8946c9e0a
commit
17b05c9ad9
7 changed files with 33 additions and 15 deletions
|
@ -511,7 +511,8 @@ function dfrn_poll_content(App $a) {
|
|||
$dest = App::get_baseurl() . '/profile/' . $profile;
|
||||
break;
|
||||
default:
|
||||
$dest = $destination_url . '?f=&redir=1';
|
||||
$appendix = (strstr($destination_url, '?') ? '&f=&redir=1' : '?f=&redir=1');
|
||||
$dest = $destination_url . $appendix;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue