httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject cvs commit: httpd-2.0/modules/mappers mod_negotiation.c
Date Sun, 27 Jan 2002 07:47:30 GMT
wrowe       02/01/26 23:47:30

  Modified:    modules/mappers mod_negotiation.c
  Log:
    Shortcut where the resource has no language [discovered with no
    DefaultLanguage in cgi-bin, resolving Greg Ames' observations, we
    had a lurking segfault.]
  
    This begs the question, what exactly did the fn do with no language
    in terms of serving content back in 1.3.  Should be reviewed.
  
  Revision  Changes    Path
  1.91      +1 -1      httpd-2.0/modules/mappers/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/mappers/mod_negotiation.c,v
  retrieving revision 1.90
  retrieving revision 1.91
  diff -u -r1.90 -r1.91
  --- mod_negotiation.c	27 Jan 2002 07:44:06 -0000	1.90
  +++ mod_negotiation.c	27 Jan 2002 07:47:30 -0000	1.91
  @@ -1473,7 +1473,7 @@
           if (!neg->accept_langs) {
               return;             /* no accept-language header */
           }
  -
  +        return;
       }
       else {
           /* Variant has one (or more) languages.  Look for the best
  
  
  

Mime
View raw message