Fix bug when path info is included in request