Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 4D634200C53 for ; Tue, 11 Apr 2017 21:29:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 4BFB2160B9B; Tue, 11 Apr 2017 19:29:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 93800160B7D for ; Tue, 11 Apr 2017 21:29:16 +0200 (CEST) Received: (qmail 94413 invoked by uid 500); 11 Apr 2017 19:29:15 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 94403 invoked by uid 99); 11 Apr 2017 19:29:15 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Apr 2017 19:29:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id B91E71AFB3B for ; Tue, 11 Apr 2017 19:29:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.8 X-Spam-Level: X-Spam-Status: No, score=-0.8 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=sbcglobal.net Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id chtLsR4CQjKU for ; Tue, 11 Apr 2017 19:29:13 +0000 (UTC) Received: from nm15-vm10.access.bullet.mail.bf1.yahoo.com (nm15-vm10.access.bullet.mail.bf1.yahoo.com [216.109.115.41]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 713925FBA0 for ; Tue, 11 Apr 2017 19:29:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1491938947; bh=rm9TfcTKKm4xzYgA48qMUp4cy8rXt2MhH2LRbMWsIS8=; h=Reply-To:Subject:References:To:From:Date:In-Reply-To:From:Subject; b=P9zKiJcBkwJOV/jWEDdF7/zVxWEDFdx3CkIIR9ETZ0FVYDfLEBuq8ThSLsx2164uXq5xCJS4Qwwps8YPYQHal2J1ieHPy0YtmDR7ZMWKWf7CtLnPTQw74pvF25RJsN9H8dZfYfkaqOnDFw+fLQx3GAHK/xdGd0jSPQSpn3LOvmipCRdSvN7G9kMx0Y7UcWmauoWYJd3kRDMplGyNIW/LipXRzPDErU99AMrWQ7cLaST5YFjUmtEkpW3qQdKtQZxhuZ7/e0RhlTDIaM/ln4XmA8TkI1qryPQWYfHHonJOHbS0kCCarqbbigjNMy0BrrRU5shVP5p4caOHxGQ2qypQOg== Received: from [66.196.81.160] by nm15.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Apr 2017 19:29:07 -0000 Received: from [98.138.104.100] by tm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 11 Apr 2017 19:29:07 -0000 Received: from [127.0.0.1] by smtp120.sbc.mail.ne1.yahoo.com with NNFMP; 11 Apr 2017 19:29:07 -0000 X-Yahoo-Newman-Id: 12922.39922.bm@smtp120.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 9nfyUPYVM1nSf1XzkqlMu_OgI.FCBNkczoxDExnoSmTPFUl hBwojVkm9HO28bzpzz5RpaOfj17nB9.gbAY3PTb6VuNsE80x22iwmjhTSFZu cu4RIVQixH295RuPCeyDHKWpKnjlo517EnCoPZnaD41YKhePS.5H_EDYwpeP gEWr5xhu3PJTK7Nihoitvm72zEHi8dmig4HDDWmrrp_zyzkG30KbcBNMmu1Y 6bV7ONp_kK8ES9xLWeH.Wt5DxpRv03eiaiZHumgRspMlk9tdMSw6JEEZumt6 W2Kk_9ECgF8HknyjjrUkuxvgYjOFtACTrSmiTmB2ARSvG2xYGv7kginj8VBg y1Uugg37QTzlIpxyp88U13skq3bRwnPjxE530OYiYDLE8xJ1ytLuGXs9PWLE 5brLwTSnNkNcEAvqFxAK8mBT0KRGH16ocnZaecNB4sBWL57etRYssA1NYXr5 yNyYwTwDpIQJ67YTLIydYECaP5DsYFJqTjXCBHW3Xid335iBQlGzxAqoQHWU oLl0mMzyHSRyhS4o2lPNXFjCWCGSYAEDMEjMfxdr9ujHzIwn0ESULWieo8UT rM3LONA-- X-Yahoo-SMTP: M4a8Xp2swBA.KFuPUSPThnVxs7sEARRPjyyV7CIvUcPxDMQ6dQ-- Reply-To: frazier377@sbcglobal.net References: <20170411211514.24a9540d@pc1> To: users@httpd.apache.org From: Kent Frazier Message-ID: Date: Tue, 11 Apr 2017 12:29:06 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170411211514.24a9540d@pc1> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [users@httpd] Malformed header "Content-Type: text/plain\t" with .el file archived-at: Tue, 11 Apr 2017 19:29:17 -0000 On 4/11/2017 12:15 PM, Hanno Böck wrote: > Hi, > > I am observing a behavior and don't really know how to make sense of > it. It may very well be that I hit a bug, but I wanted to ask for > feedback to confirm it. > > When I download .el files (EMACS Lisp scripts) on an apache server I > get a very strange header back: > "Content-Type: text/plain\t" > > Please note the "\t" at the end, which shouldn't be here. > I can reproduce this on different Gentoo systems, but not on Debian or > Ubuntu. > > To reproduce: > * Put a .el script in the webroot, e.g. get one from here: > https://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/abbrev.el > * Download it with "wget -S [url]" (-S makes wget show all the > HTTP headers). > For testing I have put an example on my server: > https://files.hboeck.de/abbrev.el > (the header contains an additional charset=UTF-8, because that's > configured as default on that server, but it still shows the strange > "\t") > > The "magic" file shipped with httpd contains this, and I think this is > the source: > 0 string ;; text/plain 8bit > > I guess somehow the tab past the content type isn't stripped away, but > instead escaped and left in the header. > > Can others confirm this behavior? Ideas how to fix this? > I guess you could try replacing the tab in the magic file with a space. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org