tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43839] - I think the implement is difference with the document in function CoyoteAdapter.postParseRequest
Date Fri, 04 Jan 2008 02:50:19 GMT
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=43839>.
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=43839





------- Additional Comments From engle_mars@yahoo.com.cn  2008-01-03 18:50 -------
Created an attachment (id=21341)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=21341&action=view)
Patch for java.org.apache.catalina.connector.CoyoteAdapter

The change of parseSessionCookiesId has problem. If access a invalid web
application path it will throw NullPointerException. This is unexpect. The
normal is return 404. The follow is the steps.
1. Deploy a web application that is name 'CookiesBug' in webapps. 
2. Start tomcat.
3. Access /cookiesBug. Notice the characters are all in lower.
4. Will show NullPointerExecption at line 554 of class
java.org.apache.catalina.connector.CoyoteAdapter.

   The reason is the access URL is invalid and tomcat can't find the context
element for it. So it will throw NullPointerExecption. From
'http://tomcat.apache.org/tomcat-6.0-doc/config/context.html', I think if can't
find the context, tomcat should trate it as default value, the 'cookies' is
true. So we should get session tracing from cookies.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message