summaryrefslogtreecommitdiff
path: root/networking/httpd_index_cgi_example
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-09 23:49:05 +0000
committerDenis Vlasenko2007-06-09 23:49:05 +0000
commit77e44d60e698c2164f610072e9f7e2bacefdd589 (patch)
treeaead8cb0cf31e55735bd7681544f0c61290cbbae /networking/httpd_index_cgi_example
parent66db264a5fd67ce4573c905c897a1e80ff26a461 (diff)
downloadbusybox-77e44d60e698c2164f610072e9f7e2bacefdd589.zip
busybox-77e44d60e698c2164f610072e9f7e2bacefdd589.tar.gz
httpd: move data off bss.
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);
Diffstat (limited to 'networking/httpd_index_cgi_example')
0 files changed, 0 insertions, 0 deletions