]> git.mxchange.org Git - friendica.git/commitdiff
Another fix for "goaway". Hopefully now finale.
authorMichael Vogel <icarus@dabo.de>
Fri, 11 Mar 2016 19:43:31 +0000 (20:43 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 11 Mar 2016 19:43:31 +0000 (20:43 +0100)
boot.php

index 43f69fc1151ba26945a9fc5c4f4ec457b3cbc485..a70c7bf616397e707f337095be8257b3534c88c8 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1558,7 +1558,7 @@ function killme() {
  * @brief Redirect to another URL and terminate this process.
  */
 function goaway($s) {
-       if (!strstr(normalise_link($s), normalise_link(App::get_baseurl())))
+       if (!strstr(normalise_link($s), "http://"))
                $s = App::get_baseurl()."/".$s;
 
        header("Location: $s");