diff --git a/src/Next.php b/src/Next.php
index <HASH>..<HASH> 100644
--- a/src/Next.php
+++ b/src/Next.php
@@ -144,7 +144,8 @@ class Next
      */
     private function setUriPath(Request $request, $path)
     {
-        $uri = $request->getUrl();
+        $path = $path ?: '/';
+        $uri  = $request->getUrl();
 
         $request->setUrl(new Http\Uri(Utils::createUriString(array(
             'scheme'   => $uri->scheme,
Re-added slash on empty url paths

- Inside Next::setUriPath(). If not present, we can end up with invalid
  URIs (missing path segment).