--- a/ForgeSCM/forgescm/wsgi.py
+++ b/ForgeSCM/forgescm/wsgi.py
@@ -35,8 +35,7 @@
             return True
 
     def __call__(self, environ, start_response):
-        url_path = environ['PATH_INFO'][1:].split('/')
-        project, rest = find_project(url_path)
+        project, rest = find_project(environ['PATH_INFO'][1:])
         if project is None:
             return BaseController.__call__(self, environ, start_response)
         class EmptyClass(object): pass