That doesn't sounds like hosts to me. Sounds like something giving an incomplete URL or trying to glue together a URL and getting it wrong. So, a software bug rather than a misconfiguration.