diff --git a/lib/ruta/router.rb b/lib/ruta/router.rb
index <HASH>..<HASH> 100644
--- a/lib/ruta/router.rb
+++ b/lib/ruta/router.rb
@@ -91,7 +91,7 @@ module Ruta
       def find_and_execute(path)
         path =
         if Ruta.config.context_prefix
-          path == '/' || path == "" ? path : path[/[^\/.*]\/.*/][1...path.length]
+        (  path == '/' || path == "") ? path : (path[/(?:\/.*?)(\/.*)/];$1)
         else
           path
         end
diff --git a/lib/ruta/version.rb b/lib/ruta/version.rb
index <HASH>..<HASH> 100644
--- a/lib/ruta/version.rb
+++ b/lib/ruta/version.rb
@@ -1,3 +1,3 @@
 module Ruta
-  VERSION = "1.2.0"
+  VERSION = "1.2.1"
 end
changes url push to not have any forward slashses