Fix question mark in URL with only placeholders.