projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7282c8
)
uhttpd: add /sbin and /usr/sbin to path, increases bb-httpd compatibility
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Mar 2010 01:50:56 +0000
(
01:50
+0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 19 Mar 2010 01:50:56 +0000
(
01:50
+0000)
contrib/package/uhttpd/src/uhttpd-cgi.c
patch
|
blob
|
history
diff --git
a/contrib/package/uhttpd/src/uhttpd-cgi.c
b/contrib/package/uhttpd/src/uhttpd-cgi.c
index 4c1265bd1db21eff7743abb358f8182fb595418c..2a9fdc9e11123fdb0ff7f36ab9a8e656830bcbd2 100644
(file)
--- a/
contrib/package/uhttpd/src/uhttpd-cgi.c
+++ b/
contrib/package/uhttpd/src/uhttpd-cgi.c
@@
-181,7
+181,7
@@
void uh_cgi_request(struct client *cl, struct http_request *req)
/* common information */
setenv("GATEWAY_INTERFACE", "CGI/1.1", 1);
setenv("SERVER_SOFTWARE", "uHTTPd", 1);
- setenv("PATH", "/
usr/bin:
/bin", 1);
+ setenv("PATH", "/
sbin:/usr/sbin:/bin:/usr
/bin", 1);
#ifdef HAVE_TLS
/* https? */