Re: [webmin-devel] PATH_TRANSLATED environment variable in miniserv.pl

Jamie Cameron <[email protected]>
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
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 <[email protected]>
Subj:  Re: [webmin-devel] PATH_TRANSLATED environment variable in miniserv.pl
Date:  Fri 13 Jan 2006 12:31 am
Size:  1K
To:  [email protected]

Hi Jamie,

On 12 Jan 2006 15:12:39 +1100, Jamie Cameron <[email protected]> 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 [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel




-------------------------------------------------------
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_id=7637&alloc_id=16865&op=click
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.