diff --git a/lib/utils/pathRegex.js b/lib/utils/pathRegex.js
index <HASH>..<HASH> 100644
--- a/lib/utils/pathRegex.js
+++ b/lib/utils/pathRegex.js
@@ -34,7 +34,12 @@ class PathRegexp {
         };
         
         let m = this.regexp.exec(path);
-        if (!m) return result;
+        if (!m) {
+            if (path == "" && this.regexp.exec(" ")) /*if path == "" this.regexp.exec("") return false. We test it with this.regexp.exec(" ")*/
+                m = ["dummy", ""];
+            else 
+                return result;
+        }
 
         result.match = true;
Fix bug in case of empty param in url ex: /api//test for /api/:name/test :name could be empty.