From 0c6f3b11ce696362d6dcb09d3b2386c7c8af6a92 Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Mon, 16 Oct 2000 03:37:20 +0000 Subject: [PATCH] Document more bad Win32 behavior... if the url isn't .exe, then don't throw an .exe git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86606 13f79535-47bb-0310-9956-ffa450edef68 --- modules/generators/mod_cgi.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/generators/mod_cgi.c b/modules/generators/mod_cgi.c index f791c139ff..2627f4f7bb 100644 --- a/modules/generators/mod_cgi.c +++ b/modules/generators/mod_cgi.c @@ -518,7 +518,11 @@ static int cgi_handler(request_rec *r) "attempt to include NPH CGI script"); #if defined(OS2) || defined(WIN32) - /* Allow for cgi files without the .EXE extension on them under OS/2 */ + /* XXX: This is wrong. As an option, perhaps, but not by default... + * we are back to the same argument that a url should be a unique + * entity until the sysadmin overrides that behavior. + * Allow for cgi files without the .EXE extension on them under OS/2 + */ if (r->finfo.protection == 0) { apr_finfo_t finfo; char *newfile; -- 2.40.0