projects
/
project
/
uhttpd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cgi: compare the physical path instead of the url to detect quirky urls
[project/uhttpd.git]
/
cgi.c
diff --git
a/cgi.c
b/cgi.c
index c4438b06153978c1b59c78bb19b527d4006e9d77..62be0a376f77c6c3f31478c74377744a6379f27a 100644
(file)
--- a/
cgi.c
+++ b/
cgi.c
@@
-103,7
+103,7
@@
static bool check_cgi_path(struct path_info *pi, const char *url)
}
pi->ip = NULL;
- return uh_path_match(conf.cgi_
prefix, url
);
+ return uh_path_match(conf.cgi_
docroot_path, pi->phys
);
}
struct dispatch_handler cgi_dispatch = {