[pkg-lighttpd] Bug#406080: lighttpd: Does not cleanup environment upon startup

Pierre Habouzit madcoder at debian.org
Sat Jul 28 22:03:39 UTC 2007


On Mon, Jan 08, 2007 at 03:53:36PM +0100, Olaf Mersmann wrote:
> Package: lighttpd
> Version: 1.4.11-2bpo1
> Severity: normal
> 
> 
> The LigHTTPd init script does not clean out the process environment. 
> 
> I noticed this while debugging a PHP error ('mail()' would fail in a
> script but not when run on the CLI). A simple script showed that HOME,
> MAIL, TERM etc where all set. A simple way to see this would be the
> following PHP script:
> 
> <?php
> echo('<html><body><tt>');
> system('env');
> echo('</tt></body></html>');
> ?>

  indeed, FWIW this is properly documented in mod_fastcgi documentation,
see the 'bin-copy-environment' directive.

Cheers,
-- 
·O·  Pierre Habouzit
··O                                                madcoder at debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-lighttpd-maintainers/attachments/20070729/1882f376/attachment.pgp 


More information about the pkg-lighttpd-maintainers mailing list