From 818daff22132449b1337723c4634ba236d9640b3 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Sat, 25 Jan 2014 06:10:51 +0000
Subject: [PATCH] Ensure redirects are complete requests

---
 include/class.http.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/class.http.php b/include/class.http.php
index ef917845d..8a5a2d4b9 100644
--- a/include/class.http.php
+++ b/include/class.http.php
@@ -55,6 +55,9 @@ class Http {
         }else{
             header("Location: $url");
         }
+        print('<html></html>');
+        flush();
+        ob_flush();
         exit;
     }
 
-- 
GitLab