Fix bug Content-2627: do not append empty parameter to the url.