Case sensitivity in newsfeeds

Javier Henderson javier at KJSL.COM
Fri Oct 29 19:54:02 UTC 1999

Russ Allbery writes:

 > It should be case-insensitive, and appears to be so to me.  innd/art.c:
 > /*
 > **  Return TRUE if a list of strings has a specific one.  This is a
 > **  generic routine, but is used for seeing if a host is in the Path line.
 > */
 > STATIC BOOL ListHas(char **list, char *p)
 > {
 >     char                *q;
 >     char                c;
 >     for (c = *p; (q = *list) != NULL; list++)
 >         if (c == *q && caseEQ(p, q))
 >             return TRUE;
 >     return FALSE;
 > }
 > caseEQ() is a case-insensitive comparison.

	I agree, however, I had the following entry:

	and I noticed I was offering them what they were offering me. I
looked at the Path: header, and it was I added that
to the newsfeeds entry, and the problem went away.


More information about the inn-workers mailing list