diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-09 23:49:05 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-09 23:49:05 +0000 |
commit | 77e44d60e698c2164f610072e9f7e2bacefdd589 (patch) | |
tree | aead8cb0cf31e55735bd7681544f0c61290cbbae /testsuite/ln | |
parent | 66db264a5fd67ce4573c905c897a1e80ff26a461 (diff) | |
download | 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 'testsuite/ln')
0 files changed, 0 insertions, 0 deletions