Protection against portal names with newline or tab