Account for possible spaces in compliance key and host fields