Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5055 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73193 invoked by uid 1010); 28 Oct 2003 22:48:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 73164 invoked from network); 28 Oct 2003 22:48:58 -0000 Received: from unknown (HELO ammma.de) (213.83.39.131) by pb1.pair.com with SMTP; 28 Oct 2003 22:48:58 -0000 Received: from ammma.net (ammma.net [62.225.101.66]) by ammma.de (8.11.6/8.11.6/AMMMa AG) with ESMTP id h9SMmBZ32514 for ; Tue, 28 Oct 2003 23:48:11 +0100 Received: from neo.wg.de (jan.ammma.mil [192.168.100.11]) by ammma.net (8.9.3p2/8.9.3/AMMMa AG) with ESMTP id XAA10865 for ; Tue, 28 Oct 2003 23:48:54 +0100 Received: by neo.wg.de (Postfix, from userid 30) id 21D159F944; Tue, 28 Oct 2003 23:49:48 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by localhost (Horde) with HTTP for ; Tue, 28 Oct 2003 23:49:47 +0100 Message-ID: <1067381387.4kgui6b7cwis@localhost> X-Priority: 3 (Normal) Date: Tue, 28 Oct 2003 23:49:47 +0100 To: internals@lists.php.net References: <20031028220955.GA569@pulse.oxfordarch.enta.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Subject: Re: [PHP-DEV] header() behaviour From: jan@horde.org (Jan Schneider) Zitat von Tal Peer : > On Tue, 28 Oct 2003, Gareth Ardron wrote: > > > I can't figure out if this is desired or not, if it's not, I'll happily > > draft up a patch to alter the behaviour - I just want to make sure > > before I do. > > Why should header() start parsing its argument? its only job is to add > its > argument to the HTTP headers, nothing more, nothing less. > It's the browser job to parse the & entity into the character '&'. Beside that, HTTP headers have nothing to do with XHTML, so this behaviour is absolutely correct. Jan. -- http://www.horde.org - The Horde Project http://www.ammma.de - discover your knowledge http://www.tip4all.de - Deine private Tippgemeinschaft