Re: cvs: /php3 mod_php3.c

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: cvs: /php3 mod_php3.c
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-15017@lists.php.net to get a copy of this message
> RL>> /* Assume output will be HTML. Individual scripts may change this > RL>> further down the line */ > RL>> - r->content_type = "text/html"; > RL>> + r->content_type = "text/html;charset=iso-8859-1"; > > Unless I'm missing something, this means all PHP scripts output will be > iso-8859-1 by default? Isn't this bad? This will surely badly break many > non-iso-8859-1 pages, made on PHP, because there's absolutely no way on > Netscape to show other charset if Netscape sees charset in the header. And > putting custom header in every script is a headache. I understand that > this is not our problrm, but Netscape's, but I don't see why there's a > need to introduce such a change? We may need an ini setting for the default charset, but not specifying a charset is a security issue. Like I said, I can't explain further right now. This will all come out next week in a bunch of advisories. -Rasmus

« previous php.dev (#15017) next »