SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding

This commit is contained in:
Scott Andrews
2009-03-26 04:37:26 +00:00
parent 0dfba993e8
commit 99fa91d56e
9 changed files with 95 additions and 98 deletions

View File

@@ -379,13 +379,18 @@
effect unless the var attribute is also defined.</description>
</attribute>
<attribute>
<name>escapeXml</name>
<name>htmlEscape</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>Escape XML special characters in the resulting URL. 'true' and
'false' are supported. Defaults to 'false' to maintain compatibility with
the JSTL c:url tag. Strongly recommended to set as 'true' when rendering
directly to the JspWriter in an XML or HTML based document.</description>
<description>Set HTML escaping for this tag, as boolean value. Overrides the
default HTML escaping setting for the current page.</description>
</attribute>
<attribute>
<name>javaScriptEscape</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>Set JavaScript escaping for this tag, as boolean value.
Default is false.</description>
</attribute>
</tag>