From dev-return-193831-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Oct 5 12:07:39 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D5889180649 for ; Fri, 5 Oct 2018 12:07:38 +0200 (CEST) Received: (qmail 14510 invoked by uid 500); 5 Oct 2018 10:07:32 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 14499 invoked by uid 99); 5 Oct 2018 10:07:32 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2018 10:07:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6C52ADFF36; Fri, 5 Oct 2018 10:07:32 +0000 (UTC) From: markt-asf To: dev@tomcat.apache.org Reply-To: dev@tomcat.apache.org References: In-Reply-To: Subject: [GitHub] tomcat issue #124: Allow empty 'Host' HTTP header Content-Type: text/plain Message-Id: <20181005100732.6C52ADFF36@git1-us-west.apache.org> Date: Fri, 5 Oct 2018 10:07:32 +0000 (UTC) Github user markt-asf commented on the issue: https://github.com/apache/tomcat/pull/124 Nice catch with handling the port. The patch I had come up with missed that. I refactored populateHost() as it bugged me to set the server name one way (that might throw an IOE and break the request) only to immediately overwrite the result with an empty String. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org