You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Feike Visser (JIRA)" <ji...@apache.org> on 2018/02/12 09:52:00 UTC

[jira] [Created] (SLING-7493) HTL must leave external urls untouched

Feike Visser created SLING-7493:
-----------------------------------

             Summary: HTL must leave external urls untouched
                 Key: SLING-7493
                 URL: https://issues.apache.org/jira/browse/SLING-7493
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
    Affects Versions: Scripting HTL Engine 1.0.48-1.3.1
            Reporter: Feike Visser


In the current implementation of @ extension option of HTL, also external urls are changed.

It is very common to have a list with both internal and external urls.

<a href="${ item.link @ extension='html'}>...</a>

Now when you have an external url with .aspx, it also gets replaced with .html.

I know this is in the spec, but I can't think of usecases where you want to have this.





--
This message was sent by Atlassian JIRA
(v7.6.3#76005)