From: Jamie C. <jca...@we...> - 2006-01-12 22:11:14
|
Hi Colm, That would work fine, as long as none of your PHP scripts depend on it. Certainly none of the Webmin CGIs need it .. - Jamie -----Original Message----- From: Colm Dougan <col...@gm...> Subj: Re: [webmin-devel] PATH_TRANSLATED environment variable in miniserv.pl Date: Fri 13 Jan 2006 12:31 am Size: 1K To: web...@li... Hi Jamie, On 12 Jan 2006 15:12:39 +1100, Jamie Cameron <jca...@we...> wrote: > Thanks for pointing this out - this is definately a bug in Webmin, as it > shouldn't even be setting PATH_TRANSLATED unless there is PATH_INFO > data. Worse still, it was being set wrongly anyway! > > I never noticed this before, because none of the CGI programs in Webmin > make use of it .. Do you see any issues with me patching my own miniserv.pl to just never define PATH_TRANSLATED as a stopgap solution until a better patch is found? It seems to work fine and AFAICS it would not break any of my existing webmin perl CGIs because none of those or the associated webmin perl libraiers seem to use PATH_TRANSLATED. Thanks, Colm ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&opÌk - Forwarded by the Webmin development list at web...@we... To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-devel |