]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_poll.php
Fix escaping in email notification template
[friendica.git] / mod / dfrn_poll.php
index 646047ea551d08578fbded0834ef030bc0e7c5ff..001202d5e564e639d9f464d9ac4937db230a2112 100644 (file)
@@ -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