aboutsummaryrefslogtreecommitdiff
path: root/networking/httpd.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2022-02-09 09:03:18 +0000
committerRon Yorston <rmy@pobox.com>2022-02-09 09:05:39 +0000
commit492d0a7492a57fe8f02c766e25960b0ce0d88759 (patch)
tree4f5764a5c2250c031ea05e9aeacbb40d7971f493 /networking/httpd.c
parent4734416a21312488a5099a297907783bee4ccc22 (diff)
parentcaa9c4f707b661cf398f2c2d66f54f5b0d8adfe2 (diff)
downloadbusybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.tar.gz
busybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.tar.bz2
busybox-w32-492d0a7492a57fe8f02c766e25960b0ce0d88759.zip
Merge busybox into merge
Fix conflicts in reset and ash. Redefine the new safe_read_key() as a reference to read_key(). Disable SHA256_HWACCEL.
Diffstat (limited to 'networking/httpd.c')
-rw-r--r--networking/httpd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/httpd.c b/networking/httpd.c
index 5f7b3a4dd..59b4a769c 100644
--- a/networking/httpd.c
+++ b/networking/httpd.c
@@ -1707,8 +1707,7 @@ static void send_cgi_and_exit(
1707 script = last_slash; 1707 script = last_slash;
1708 if (script != url) { /* paranoia */ 1708 if (script != url) { /* paranoia */
1709 *script = '\0'; 1709 *script = '\0';
1710 if (chdir(url + 1) != 0) { 1710 if (chdir_or_warn(url + 1) != 0) {
1711 bb_perror_msg("can't change directory to '%s'", url + 1);
1712 goto error_execing_cgi; 1711 goto error_execing_cgi;
1713 } 1712 }
1714 // not needed: *script = '/'; 1713 // not needed: *script = '/';