Mabye we could do something like `[x for x in _allowed_hosts.replace(' ','').split(',') if x]` in case someone enters the allowed hosts with spaces (`host0, host1` instead of `host0,host1`).