Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81788 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66148 invoked from network); 4 Feb 2015 09:05:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2015 09:05:01 -0000 Authentication-Results: pb1.pair.com header.from=mike.php.net@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=mike.php.net@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.180 as permitted sender) X-PHP-List-Original-Sender: mike.php.net@gmail.com X-Host-Fingerprint: 74.125.82.180 mail-we0-f180.google.com Received: from [74.125.82.180] ([74.125.82.180:33615] helo=mail-we0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B9/52-55046-BB0E1D45 for ; Wed, 04 Feb 2015 04:05:00 -0500 Received: by mail-we0-f180.google.com with SMTP id m14so415254wev.11 for ; Wed, 04 Feb 2015 01:04:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=XfEHeRDCLXXT6gMrH7eXBLrcNt9Rt97weS6hPvXGUck=; b=NV2QHC6/RAvqhbdtO5pytKLdGKQhezx3Vs6IKDmxglhBSDAT1oH0qundyH26nLHyUg 8bQGnwyTEgZLvhrykiaei7rhvQ3XCTxdBKRjBKQs2+fHnXHcjByG7oCLX3Gml7zrKZcQ TjQStm1wjLqvtXRY8S6pwLN3uPPogSmcvl5EqIea6CgmeZ6Ys3hhZFQZJIareAMAOtzT /PXzZ8+b7uQ1DYkSfkSe9GDuQWduV+XrO5vpZNo1V4mVHm0RIjeAcOmWeMYVlsCqEAxD IIXisAWxlmz3rhTwRAHv9doXFdQC30kO8C5At2lstl6DCieBZbuXhhyw48Ekwv640MIh KVCg== X-Received: by 10.194.200.68 with SMTP id jq4mr55859397wjc.128.1423040696503; Wed, 04 Feb 2015 01:04:56 -0800 (PST) Received: from [192.168.2.120] (89-104-28-113.customer.bnet.at. [89.104.28.113]) by mx.google.com with ESMTPSA id fw5sm1733931wjb.14.2015.02.04.01.04.55 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 01:04:55 -0800 (PST) Sender: Michael Wallner Message-ID: <54D1E0B7.6060102@php.net> Date: Wed, 04 Feb 2015 10:04:55 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stanislav Malyshev , PHP Internals References: <54D1C946.5080804@gmail.com> <54D1D6C0.6070004@php.net> <54D1DDE9.5040307@gmail.com> In-Reply-To: <54D1DDE9.5040307@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] removing http line folding support? From: mike@php.net (Michael Wallner) On 04/02/15 09:52, Stanislav Malyshev wrote: > Hi! > >> Don't we prevent that already? >> http://lxr.php.net/xref/PHP_5_6/main/SAPI.c#749 > > I'm not sure what you meant by "that", but the code you linked to allows > multi-line headers according to RFC 2616 - this is what comment in line > 750 means. I propose to remove this (of course, no newline chars will be > allowed too as they are allowed only to support RFC 2616). > Ha, "that" was exaclty what I meant, sorry then, and +1. :) -- Regards, Mike