You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2016/07/07 14:15:11 UTC

[jira] [Updated] (SLING-5632) [sightly] Support for external links with @ extension

     [ https://issues.apache.org/jira/browse/SLING-5632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radu Cotescu updated SLING-5632:
--------------------------------
    Description: 
Code example
{noformat}
<a href="${ path @ extension='html'}">Our link</a>
{noformat}

This normally works ok, but in case {{path}} points to a URL that doesn't contain any path information "http://www.google.com", then we don't want to add the extension.

Now this check has to be done every time we use the {{extension}} option.



  was:
Code example
<a href="${ path @ extension='html'}">Our link</a>

This normally this goes ok, but in case path points to an external like "http://www.google.com", then we don't want to add the extension.

Now this check has to be done everytime we use @ extension




> [sightly] Support for external links with @ extension
> -----------------------------------------------------
>
>                 Key: SLING-5632
>                 URL: https://issues.apache.org/jira/browse/SLING-5632
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>            Reporter: Feike Visser
>              Labels: Sightly
>
> Code example
> {noformat}
> <a href="${ path @ extension='html'}">Our link</a>
> {noformat}
> This normally works ok, but in case {{path}} points to a URL that doesn't contain any path information "http://www.google.com", then we don't want to add the extension.
> Now this check has to be done every time we use the {{extension}} option.



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