You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/06/01 23:16:18 UTC

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

    [ https://issues.apache.org/jira/browse/TAP5-2471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14568014#comment-14568014 ] 

ASF subversion and git services commented on TAP5-2471:
-------------------------------------------------------

Commit e25fac7e44f4f043ec8e1787e1b3597173d70bbb in tapestry-5's branch refs/heads/master from [~hlship]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=e25fac7 ]

TAP5-2471: DefaultRequestExceptionHandler creating absolute links for xhr request


> 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
>             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)