Date: 05/02/01
- Next message: Jani Taskinen: "[PHP-DEV] Re: [PHP-QA] Re: 4.0.6"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #6491 Updated: $PHP_SELF evaluates to improper address if directory name ends with ".php""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 1546
Updated by: sniper
Reported By: alec <email protected>
Old-Status: Analyzed
Status: Closed
Bug Type: *Web Server problem
PHP Version: 4.0
Assigned To:
Comments:
Please try latest CVS snapshot from http://snaps.php.net/
as this should be fixed. Reopen if this is not the case.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-02-21 14:01:54] andre <email protected>
user patch suggestion:
30,31d29
< #include <sys/types.h>
< #include <sys/stat.h>
278c276
< #if 0
--- > #if 0 384,385d381 < struct stat statbuf; < char *lastslashptr; 707,721d702 < < /*allow use of extended path in URL < (e.g: http://.../file.php/downloadfn.exe?name="me"&... < */ < lstat(env_path_translated,&statbuf); < while(strlen(env_path_translated)!=0 && !S_ISREG(statbuf.st_mode) < && !S_ISLNK(statbuf.st_mode) && !S_ISDIR(statbuf.st_mode)) < { < < lastslashptr=strrchr(env_path_translated,'/'); < if(lastslashptr)*lastslashptr='-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jani Taskinen: "[PHP-DEV] Re: [PHP-QA] Re: 4.0.6"
- Previous message: sniper <email protected>: "[PHP-DEV] Bug #6491 Updated: $PHP_SELF evaluates to improper address if directory name ends with ".php""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

