Forbid space character in hostname and username request