You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2015/06/01 23:16:19 UTC
[jira] [Closed] (TAP5-2471) DefaultRequestExceptionHandler creating
absolute links for xhr request
[ https://issues.apache.org/jira/browse/TAP5-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-2471.
--------------------------------------
Resolution: Fixed
Fix Version/s: 5.4
Assignee: Howard M. Lewis Ship
Changed, and I also documented some related classes.
> DefaultRequestExceptionHandler creating absolute links for xhr request
> ----------------------------------------------------------------------
>
> Key: TAP5-2471
> URL: https://issues.apache.org/jira/browse/TAP5-2471
> Project: Tapestry 5
> Issue Type: Bug
> Affects Versions: 5.4
> Reporter: George Christman
> Assignee: Howard M. Lewis Ship
> Fix For: 5.4
>
>
> I'm using relative links throughout my application and allowing our reverse proxy to handle our secure port forwarding.
> I just discovered that DefaultRequestExceptionHandler on line 210 is creating an absolute link for all xhr request.
> https://github.com/apache/tapestry-5/blob/840533975a33d9094789bc09e40557a5c3ec7ba8/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/DefaultRequestExceptionHandler.java
> It has suggested on the mailing list by Dimitris Zenios to be link.toRedirectURI instead of toAbsoluteURI just like
> AjaxLinkComponentEventResultProcessor does.
> http://apache-tapestry-mailing-list-archives.1045711.n5.nabble.com/DefaultRequestExceptionHandler-not-redirect-xhr-request-to-a-secure-link-td5730392.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)