You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "George Christman (JIRA)" <ji...@apache.org> on 2015/04/13 02:24:12 UTC

[jira] [Created] (TAP5-2471) DefaultRequestExceptionHandler creating absolute links for xhr request

George Christman created TAP5-2471:
--------------------------------------

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


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)