hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 16497] - StringIndexOutOfBound exception in RFC2109 cookie validate when host name contains no domain information and is short in length than the cookie domain.
Date Tue, 28 Jan 2003 18:20:16 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16497>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16497

StringIndexOutOfBound exception in RFC2109 cookie validate when host name contains no domain
information and is short in length than the cookie domain.





------- Additional Comments From Ryan.Lubke@Sun.COM  2003-01-28 18:20 -------
Looks good.

The only suggestion I have is that this

 if (host.indexOf(".") >= 0) {

be changed to this:

 if (host.indexOf('.') >= 0) {

(This is the second line you added in RFC2109Spec)

Thanks for the quick response.

Mime
View raw message