Re: header() behaviour
| From: | Tal Peer | Date: | Tue, 28 Oct 2003 22:34:04 +0000 |
| Subject: | Re: header() behaviour | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5054@lists.php.net to get a copy of this message | ||
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 '&'.
--
Tal Peer
Public Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x253D2947
Key Fingerprint: C0B1 D91D 7323 6C0F 227A CBD6 D635 E53D 253D 2947