Fixed the @PathParam url encoding bug