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

Alejandro Marulanda edited comment on SLING-7548 at 5/9/18 4:21 AM:
--------------------------------------------------------------------

It seems this also happens for external links with a different extension than 
html.

For example, for 
*${'http://www.dre.vanderbilt.edu/~schmidt/PDF/reactor-siemens.pdf' @ extension 
='html'}* the resulting URL is 
"*http://www.dre.vanderbilt.edu/~schmidt/PDF/reactor-siemens.html*"; (.html 
instead of .pdf)


was (Author: marulanda):
It seems this also happens for external links with a different extension than 
html.

For example, for 
`${'http://www.dre.vanderbilt.edu/~schmidt/PDF/reactor-siemens.pdf' @ extension 
='html'}` the resulting URL is 
"http://www.dre.vanderbilt.edu/~schmidt/PDF/reactor-siemens.html"; (.html 
instead of .pdf)

> HTL url manipulation for external link without extension
> --------------------------------------------------------
>
>                 Key: SLING-7548
>                 URL: https://issues.apache.org/jira/browse/SLING-7548
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Pony Soeung
>            Priority: Major
>
> For $\{'[https://www.adobe.com|https://www.adobe.com/fr/]' @ extension 
> ='html'}, the url is untouched. OK
> For $\{'[https://www.adobe.com/fr/]' @ extension ='html'}, '.html' is added 
> to the url. KO



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

Reply via email to