httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/standard mod_cgi.c
Date Mon, 16 Oct 2000 03:37:21 GMT
wrowe       00/10/15 20:37:20

  Modified:    src/modules/standard mod_cgi.c
  Log:
    Document more bad Win32 behavior... if the url isn't .exe, then don't
    throw an .exe
  
  Revision  Changes    Path
  1.65      +5 -1      apache-2.0/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- mod_cgi.c	2000/10/10 04:11:35	1.64
  +++ mod_cgi.c	2000/10/16 03:37:20	1.65
  @@ -518,7 +518,11 @@
                                  "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;
  
  
  

Mime
View raw message