match domains exactly when validating settings form #3089

 #3089