mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-08 08:09:09 +00:00
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:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user