alphagov/transition — pull request #161 by fofr (2014-01-27 11:45:38+00:00)
Title: Check that entered hosts are part of the current site

* Add a raw_hosts method to bulk_adder to pull out an array of unique hostnames used
* Check that each of these is a correct site hostname

Caveat: This may be overly strict, eg with and without www at the start of a hostname.