You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Laurent FAILLIE <l_...@yahoo.com> on 2001/01/30 12:50:06 UTC

mod_autoindex/6698: Apache may add a dummy '>' if a description has an '&'

The following reply was made to PR mod_autoindex/6698; it has been noted by GNATS.

From: =?iso-8859-1?q?Laurent=20FAILLIE?= <l_...@yahoo.com>
To: apbugs@Apache.Org
Cc: apbugs@Apache.Org
Subject: mod_autoindex/6698: Apache may add a dummy '>' if a description has an '&'
Date: Tue, 30 Jan 2001 03:49:08 -0800 (PST)

 This error still in v 1.3.17.
 
 Now mod_autoindex.c must look, starting at line 1302
 
  	else if (desc[x] == '&') {
  	    /* entities like &auml; count as one character
 */
 		int ansx=x;
  	    --maxsize;
  	    for ( ; desc[x] != ';'; ++x) {
  		if (desc[x] == '\0') {
                      maxsize = 0;
                      break;
 		} else if(isspace(desc[x])){
         	x=++ansx;
            	break;
 		}
 	    }
         }
 
 
 
 Someone take care of it ???
 
 Bye
 
 Laurent
 
 =====
 The misspelling master is on the Web.
    _________
   /        /(
  /  Dico  / /	100 % Dictionnary Free !
 /________/ /		 
 (#######( /
 
 Quoi, des fautes d'orthographe! Pas possible ;-D.
 
 __________________________________________________
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/