removed URLUtil.getPathFromPathQuery(), as our URI class directly supports getPath()