sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Feike Visser (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SLING-7493) HTL must leave external urls untouched
Date Mon, 12 Feb 2018 09:52:00 GMT
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)

Mime
View raw message