RE: Bug in safe url parsing

2002-02-05 Thread costinm
rom: Keith Wannamaker [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, February 05, 2002 12:45 PM > > To: Tomcat Developers List > > Cc: [EMAIL PROTECTED] > > Subject: Bug in safe url parsing > > > > > > Greetings, > > > > There is a bug in Byt

RE: Bug in safe url parsing

2002-02-05 Thread Larry Isaacs
t Developers List > Cc: [EMAIL PROTECTED] > Subject: Bug in safe url parsing > > > Greetings, > > There is a bug in ByteChunk.indexOf which manifests itself > in the safe url parsing. That is, BC.indexOf returns an > offset relative to the start of the byte buffer, ra

Bug in safe url parsing

2002-02-05 Thread Keith Wannamaker
Greetings, There is a bug in ByteChunk.indexOf which manifests itself in the safe url parsing. That is, BC.indexOf returns an offset relative to the start of the byte buffer, rather than the internal starting point. So, when safe url checks for indexOf('%'), depending on the length of the metho