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=32762>. 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=32762 ------- Additional Comments From [EMAIL PROTECTED] 2005-10-21 18:04 ------- Sylvain wrote (on dev@cocoon.apache.org): ------------------------------------ IMO we don't even need complicated URL-scheme checking machinery, as by definition cocoon.sendPage() calls a pipeline, which translates to redirecting to a "cocoon:" URL. So we may (but why?) want to allow people to explicitely write the full URL in their flowscript, but then we just have to check if the given URL starts with "cocoon:/" to avoid prepending the prefix twice. So the code would simply be: forwardTo(String uri...) { if (!uri.startsWith("cocoon:/")) { uri = "cocoon:/" + uri; } etc... Thoughts? Sylvain -- 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.