fix bug:domain/ns query param validate: prefix and fuffix space should
be invalid.