Repository: tapestry-5 Updated Branches: refs/heads/master 4c8d83efe -> 93d06899a
Properly handle nested page names (with a '/') via URLEncoder Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/c9aa3cb6 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/c9aa3cb6 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/c9aa3cb6 Branch: refs/heads/master Commit: c9aa3cb62355b91ca14c80b97b2313a741b2ab4d Parents: 4c8d83e Author: Howard M. Lewis Ship <hls...@apache.org> Authored: Tue Apr 7 16:23:00 2015 -0700 Committer: Howard M. Lewis Ship <hls...@apache.org> Committed: Tue Apr 7 16:23:00 2015 -0700 ---------------------------------------------------------------------- .../java/org/apache/tapestry5/corelib/pages/ExceptionReport.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/c9aa3cb6/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java ---------------------------------------------------------------------- diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java index 3dfae92..87d0d2f 100644 --- a/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java +++ b/tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ExceptionReport.java @@ -208,7 +208,8 @@ public class ExceptionReport extends AbstractInternalPage implements ExceptionRe if (!productionMode) { add(links, - resources.createEventLink("reloadFirst", pac).addParameter("loadPage", failurePage), + resources.createEventLink("reloadFirst", pac).addParameter("loadPage", + urlEncoder.encode(failurePage)), "Go to page <strong>%s</strong> (with reload)", failurePage); }