Bug #1546 Updated: Unable to pass path info while using php in cgi mode.

From: Date: Thu, 03 May 2001 01:22:03 +0000
Subject: Bug #1546 Updated: Unable to pass path info while using php in cgi mode.
Groups: php.dev 
Request: Send a blank email to php-dev+get-53494@lists.php.net to get a copy of this message
ID: 1546 Updated by: sniper Reported By: alec@brainpod.com 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@php.net 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='

« previous php.dev (#53494) next »