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

Carsten Ziegeler commented on SLING-4631:
-----------------------------------------

Not sure :) This duplicates the whole template for just a single thing.

We could also add something like ${back_link} in the template. If the referer 
is valid, the value for this is "<p><a href="${referer}">Go Back</a></p>", 
otherwise the empty strng

>  Improve the HtmlResponse template for pseudo-URL referrer
> ----------------------------------------------------------
>
>                 Key: SLING-4631
>                 URL: https://issues.apache.org/jira/browse/SLING-4631
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets
>            Reporter: Antonio Sanso
>            Assignee: Antonio Sanso
>         Attachments: SLING-4631-patch.txt
>
>
> The HtmlResponse.html template in case of 500 error has a link to go back 
> based on the referrer.
> This doesn't make sense in case of  pseudo-URL referrer (e.g. data: )



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to