]> granicus.if.org Git - apache/commitdiff
Document more bad Win32 behavior... if the url isn't .exe, then don't
authorWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 16 Oct 2000 03:37:20 +0000 (03:37 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Mon, 16 Oct 2000 03:37:20 +0000 (03:37 +0000)
  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

index f791c139ffb853f3fa39112b0a5a6cbfddd97eef..2627f4f7bbef0d5cb32ac6ebcc5b884cd208cb72 100644 (file)
@@ -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;