Removed the additional check on ', as it's valid per rfc822