allow the hostname to end in '.' (konqueror does this sometimes)