url: ignore query/search once path does not contain ?