Bug fix

use req.path instead of req.url to allow the use of search attribute
"?c=1&..."