DO NOT REPLY [Bug 4707] - HttpServletRequest.getPathInfo() method strips consecutive / chars

2002-03-15 Thread bugzilla

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=4707.
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=4707

HttpServletRequest.getPathInfo()  method strips consecutive / chars

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|LATER   |



--- Additional Comments From [EMAIL PROTECTED]  2002-03-15 20:26 ---
Reopen.

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




DO NOT REPLY [Bug 4707] - HttpServletRequest.getPathInfo() method strips consecutive / chars

2002-03-15 Thread bugzilla

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=4707.
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=4707

HttpServletRequest.getPathInfo()  method strips consecutive / chars

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2002-03-15 20:29 ---
Unfortunately, it is extremely hard to allow // in a URI without making the
mapper and the security constraint mapper a lot more complex. The new HTTP
connector is more tolerant, and does less API normalization than the old one (at
least when running with HEAD; 4.0.x needs the aggressive normalization), but
there is no way I can think of to allow this without compromising security.

If you have ideas, feel free to submit them.

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




DO NOT REPLY [Bug 4707] - HttpServletRequest.getPathInfo() method strips consecutive / chars

2002-03-06 Thread bugzilla

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=4707.
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=4707

HttpServletRequest.getPathInfo()  method strips consecutive / chars





--- Additional Comments From [EMAIL PROTECTED]  2002-03-06 16:20 ---
I've been developing under TDK and its version of getPathInfo() does NOT eat
slashes, so it really surprised me that my webapp broke when we deployed on
Tomcat (without TDK).  It's not just PathInfo, but also getRequestURL() and
getRequestURI().

The request:

http://localhost:58080/sna/servlet/gov.nasa.hq.sna.intranetbroker.SlashTest/oj///simpson

results in the following from my dorky test servlet:

RequestURL:  
http://localhost:58080/sna/servlet/gov.nasa.hq.sna.intranetbroker.SlashTest/oj/simpson
RequestURI:   /sna/servlet/gov.nasa.hq.sna.intranetbroker.SlashTest/oj/simpson
PathInfo: /oj/simpson

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