Comparing version 0.5.17 to 0.5.18
@@ -101,3 +101,3 @@ var http = require('http'); | ||
if (rewrite) { | ||
request.url = common.format(rewrite, request.params); | ||
request.url = common.format(rewrite, request.params) + (index === -1 ? '' : request.url.substring(index)); | ||
} | ||
@@ -104,0 +104,0 @@ |
{ | ||
"name":"router", | ||
"version":"0.5.17", | ||
"version":"0.5.18", | ||
"description":"A lean and mean web router", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
9578