Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81783 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58910 invoked from network); 4 Feb 2015 08:53:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2015 08:53:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.47 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.47 mail-pa0-f47.google.com Received: from [209.85.220.47] ([209.85.220.47:58195] helo=mail-pa0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/C0-55046-6FDD1D45 for ; Wed, 04 Feb 2015 03:53:13 -0500 Received: by mail-pa0-f47.google.com with SMTP id lj1so934939pab.6 for ; Wed, 04 Feb 2015 00:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=O0FxPc04tfIiHRJ8pl8JgXXyxGdsWsai5sC7uePaO+4=; b=ew8156Y9jEt0DunoSEznvO41QEqf/jxT3IEpBHhnwadVicrMXBeXpoKN2GZDl+bX20 S+qrmaI/E4SBzNf7GtodNb8q86ThTcHjfkf/zpu54cV6i+pp7BfpDW6OLfGTfVvkGG1w Bnj2gZRjfdO/QyX0AyyEmMD5U+qIPcgWufgjoare4JS2sUFG7pqjmyi8bRuP10qGjlJA hN60rTiCL0u5Pezegu8LJeLoF2lUoPwXLUd/bg1VXb96kJS6PrIIx8zczsIuuEvdyIyq 9YjE9qEujjyzztIDwhJokPzH+fk/2UVFEm8bKTzbX9SPPpIRg6nvy8VvlX6pK/VLOW04 l/2A== X-Received: by 10.66.148.196 with SMTP id tu4mr44154835pab.125.1423039987967; Wed, 04 Feb 2015 00:53:07 -0800 (PST) Received: from Stas-Air.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id pp9sm1254156pbb.65.2015.02.04.00.53.07 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Feb 2015 00:53:07 -0800 (PST) Message-ID: <54D1DDE9.5040307@gmail.com> Date: Wed, 04 Feb 2015 00:52:57 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Michael Wallner , PHP Internals References: <54D1C946.5080804@gmail.com> <54D1D6C0.6070004@php.net> In-Reply-To: <54D1D6C0.6070004@php.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] removing http line folding support? From: smalyshev@gmail.com (Stanislav Malyshev) 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). -- Stas Malyshev smalyshev@gmail.com