In middle ages, people ♥♥♥♥ in buckets and they emptied them on the street or in the neighbours water supply. Because of that cities were very dirty and... well pretty deadly. But I would still take a fortified city over getting my ♥♥♥ raped by bandits and vikings.