decode the path before handling the requests
Fixed merge issue