Generate a URL string that contains square brackets.