[
https://issues.apache.org/jira/browse/SLING-7641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Klco resolved SLING-7641.
-----------------------------
Resolution: Fixed
Fixed in
https://github.com/apache/sling-org-apache-sling-scripting-jsp-taglib/commit/48cd7272aac009022b0ccc3e7ff0fc9e36d872f0
> Use Default if Value is Blank on sling:encode Tag
> -------------------------------------------------
>
> Key: SLING-7641
> URL: https://issues.apache.org/jira/browse/SLING-7641
> Project: Sling
> Issue Type: Bug
> Components: Scripting
> Affects Versions: Scripting JSP Taglib 2.2.6
> Reporter: Dan Klco
> Assignee: Dan Klco
> Priority: Major
> Fix For: Scripting JSP Taglib 2.2.8
>
>
> According to the description in the TLD, the blank value is:
> "The default value to be used if the value is either null or an empty
> string."
> However, the Encode Tag only uses a null check to decide to use the default
> value. This should instead check if the string is null or empty.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)