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 25015] - CoyoteAdapter is breaking path info
Date Thu, 11 Dec 2003 19:44:44 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=25015>.
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=25015

CoyoteAdapter is breaking path info





------- Additional Comments From amyroh@apache.org  2003-12-11 19:44 -------
I don't think the spec has clearly resolved this issue.

Right now, it somewhat implies that the return value of getPathInfo() include
the things after ";".

SRV.4.1
"Path parameters that are part of a GET request are not exposed by these
APIs.(getParameter, etc.) They must be parsed from the String values returned by
the getRequestURI method or the getPathInfo method."

However, practically, the path parameter can be placed ANYWHERE in the URL and
it is confusing that getPathInfo returns them. 

I think returning "/appnama/servlet-name/extra" is fine.

As long as getRequestURI contains the path params, I don't think it violates the
spec.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message