DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43480>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43480





------- Additional Comments From [EMAIL PROTECTED]  2007-09-26 14:58 -------
Notes:
1. tomcat4.ajp.* doesn't the setBytes method of MessageBytes in Ajp13Request
when adding header/value pairs.
2. This means the header value(s) never get a type of T_BYTES
3. Cookie processing always defaults to the simple StringTokenizer version.

Possible Solutions:
1. Do a simple check for null strings in the StringTokenizer version of
processCookieHeader.
2. Convert(!) the string to byte [], making sure no wackiness occurs with the
character set and use the more modern processCookieHeaders.
3. Look into the possibility of having Ajp13Request, et. al use setBytes (The
problem with this is that the header/value pair is actually set in 
HttpRequestBase)

I am leaning towards option 1, because it is low-impact. The cons are that we
still have a code path engaged with the deprecated parser. I still need to
replicate this also.

Any input?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to