ID: 1546 Updated by: sniper Reported By: [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] [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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]