Re: BUG: http_vhost.c:fix_hostname

2002-06-23 Thread Brian Pane
On Sun, 2002-06-23 at 01:18, Eli Marmor wrote: > Brian Pane wrote: > > > > On Sat, 2002-06-22 at 13:56, Perry Harrington wrote: > > > There is a bug in fix_hostname. The comment above function says that the >hostname > > > is lowercased, but it's not. > > > > > > the line which reads: > > > > >

Re: BUG: http_vhost.c:fix_hostname

2002-06-23 Thread Eli Marmor
Brian Pane wrote: > > On Sat, 2002-06-22 at 13:56, Perry Harrington wrote: > > There is a bug in fix_hostname. The comment above function says that the hostname > > is lowercased, but it's not. > > > > the line which reads: > > > > *dst++ = *src++; > ... > > should read: > > > >

Re: BUG: http_vhost.c:fix_hostname

2002-06-22 Thread Brian Pane
On Sat, 2002-06-22 at 13:56, Perry Harrington wrote: > There is a bug in fix_hostname. The comment above function says that the hostname > is lowercased, but it's not. > > the line which reads: > > *dst++ = *src++; ... > should read: > > *dst++ = tolower(*src++); Thanks, I'll

BUG: http_vhost.c:fix_hostname

2002-06-22 Thread Perry Harrington
There is a bug in fix_hostname. The comment above function says that the hostname is lowercased, but it's not. the line which reads: *dst++ = *src++; in context of: goto bad; else break; } *dst++ = *src++; } /* strip