diff --git a/flight/Engine.php b/flight/Engine.php index 5f73173..bcc6dc1 100644 --- a/flight/Engine.php +++ b/flight/Engine.php @@ -430,7 +430,7 @@ class Engine { // Append base url to redirect url if ($base != '/' && strpos($url, '://') === false) { - $url = preg_replace('#/+#', '/', $base.'/'.$url); + $url = $base . preg_replace('#/+#', '/', '/' . $url); } $this->response(false)