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:18:11 UTC
[jira] [Updated] (SLING-5632) [Sightly] URI manipulation options
that process a path should not alter URIs that don't provide path
information
[ https://issues.apache.org/jira/browse/SLING-5632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-5632:
--------------------------------
Summary: [Sightly] URI manipulation options that process a path should not alter URIs that don't provide path information (was: [sightly] Support for external links with @ extension)
> [Sightly] URI manipulation options that process a path should not alter URIs that don't provide path information
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SLING-5632
> URL: https://issues.apache.org/jira/browse/SLING-5632
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Reporter: Feike Visser
> Assignee: Radu Cotescu
> Labels: Sightly
> Fix For: Scripting Sightly Engine 1.0.20
>
>
> 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)