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

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@825 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Scott Andrews
2009-03-26 04:37:26 +00:00
parent 10f6f3733c
commit 2d2924e8ce
9 changed files with 95 additions and 98 deletions
@@ -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>