• English version
  • Version française
  • Versión española

Nouvelle

PHP and cgi.fix_pathinfo value

Posté le mercredi 8 avril 2009, à 18:09 UTC

Hi,

The upgrade from Debian Etch to Debian Lenny changed the value of the cgi.fix_pathinfo variable, we are using the default value and the default value changed from 0 to 1.

From what we saw, the only impacted value seems to be PHP_SELF, but the PHP documentation talks about PATH_INFO, PATH_TRANSLATED and SCRIPT_FILENAME

We think this is better to let the new default behavior, which is fixing an old PHP bug. Anyway this is something that need to be changed at some time, therefore this is useless to set the previous default behavior back.

Please fix your scripts ;-)

RSS Feed