You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/10/06 00:12:49 UTC

DO NOT REPLY [Bug 51972] sendRedirect does not support protocol relative URLs

https://issues.apache.org/bugzilla/show_bug.cgi?id=51972

--- Comment #1 from Mark Thomas <ma...@apache.org> 2011-10-05 22:12:49 UTC ---
The JavaDoc for sendRedirect requires that anything that starts with '/' is
treated as server relative. I'm not sure if that is what was intended but it is
certainly what the spec currently requires. I don't see any reason not to allow
protocol relative URLs. I'll see if I can get some clarification from the
Servlet EG.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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