mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
httpd: do not realpath() for SCRIPT_FILENAME - it resolves symlinks but it should not: - /* SCRIPT_FILENAME required by PHP in CGI mode */ - if (!realpath(purl + 1, realpath_buff)) - goto error_execing_cgi; - setenv1("SCRIPT_FILENAME", realpath_buff); + + /* SCRIPT_FILENAME required by PHP in CGI mode */ + fullpath = concat_path_file(home_httpd, purl); + setenv1("SCRIPT_FILENAME", fullpath); |
||
---|---|---|
.. | ||
libiproute | ||
udhcp | ||
arp.c | ||
arping.c | ||
Config.in | ||
dnsd.c | ||
ether-wake.c | ||
ftpgetput.c | ||
hostname.c | ||
httpd_index_cgi_example | ||
httpd.c | ||
ifconfig.c | ||
ifupdown.c | ||
inetd.c | ||
interface.c | ||
ip.c | ||
ipcalc.c | ||
isrv_identd.c | ||
isrv.c | ||
isrv.h | ||
Kbuild | ||
nameif.c | ||
nc_bloaty.c | ||
nc.c | ||
netstat.c | ||
nslookup.c | ||
ping.c | ||
route.c | ||
telnet.c | ||
telnetd.c | ||
tftp.c | ||
traceroute.c | ||
vconfig.c | ||
wget.c | ||
zcip.c |