Re: Bug # 21261 -- PHP_SELF not set correctly with sapi/CGI

From: Date: Tue, 31 Dec 2002 07:40:11 +0000
Subject: Re: Bug # 21261 -- PHP_SELF not set correctly with sapi/CGI
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93001@lists.php.net to get a copy of this message
Sara Golemon wrote:
It looks like the correct behavior was broken with patch 1.199 to php/sapi/cgi/cgi_main.c Because there are a number of modifications in this patch and I don't want to go messing it up any further I'll ask the original patch submitter (shane) to take a look and reconsider the argv0 hack that was removed with this patch. ((Assuming that is indeed the source of the problem)) -Pollita
the argv0 hack is bad since it doesn't fix the bug, just masks it on servers that provide that. There is an off-by-one bug somewhere in init_request_info(), if I can get the httpd.conf info I requested in the bug, I can figure out what is happening and fix it correctly. Shane

« previous php.dev (#93001) next »