30,31d29 < #include < #include 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='\0'; < stat(env_path_translated,&statbuf); < } < <