From 3189f0e23c234ca78396bcf5d44ac02775e491fa Mon Sep 17 00:00:00 2001
From: Michael Vogel <icarus@dabo.de>
Date: Fri, 11 Mar 2016 20:43:31 +0100
Subject: [PATCH] Another fix for "goaway". Hopefully now finale.

---
 boot.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/boot.php b/boot.php
index 43f69fc115..a70c7bf616 100644
--- 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");