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

Konrad Windszus edited comment on SLING-7000 at 7/13/17 9:01 AM:
-----------------------------------------------------------------

Although this behaviour is not explicitly specified this is similar to 
https://issues.apache.org/jira/browse/SLING-5632 and the expected behaviour 
would be that those links are not touched by the URI manipulator. Those URI's 
are called opaque in contrast to hierarchical URIs. Only the latter should be 
manipulated through the individual URI manipulator options. The former should 
only support the {{scheme}} option.


was (Author: kwin):
Although this behaviour is not explicitly specified this is similar to 
https://issues.apache.org/jira/browse/SLING-5632 and the expected behaviour 
would be that those links are not touched by the URI manipulator.

> HTL: URIManipulatorFilterExtension destroys mailto links
> --------------------------------------------------------
>
>                 Key: SLING-7000
>                 URL: https://issues.apache.org/jira/browse/SLING-7000
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Sightly Engine 1.0.0, Scripting HTL Engine 
> 1.0.34
>            Reporter: Konrad Windszus
>         Attachments: SLING-7000-v01-test.patch
>
>
> When using the URI manipulator's extension option 
> (https://github.com/Adobe-Marketing-Cloud/htl-spec/blob/master/SPECIFICATION.md#125-uri-manipulation)
>  on a mailto link the value is completely messed up.
> {code:java}
> <a href="${'mailto:some.m...@apache.org' @ extension='html'}">
> {code}
> The {{URIManipulationFilterExtension}} returns 
> {code}
> mailto://null.html
> {code} 
> through its {{call(...)}} method with parameter {{arguments}} being set to 
> {code}
> [mailto:kon...@netcentric.biz, {extension=html}]
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to