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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From [EMAIL PROTECTED]  2005-11-23 23:07 -------
Mmmm.. The Servlet Spec already says all URLs passed to sendRedirect should
first be passed to encodeRedirectURL.  That method, in Tomcat, calls
org.apache.catalina.connector.Response#isEncodeable, which in doIsEncodeable
tries to construct a URL and returns false if there's a MalformedURLException. 
In theory we could do something with this MalformedURLException, but the Servlet
Spec API for encodeRedirectURL doesn't allow for declared exceptions, so it
would have to be a runtime exception, which seems like an ugly surprise for our
users.

I'll stew about this a bit more as time permits, but alternative ideas 
welcome...

-- 
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