37 lines
716 B
Plaintext
37 lines
716 B
Plaintext
include::../description.adoc[]
|
|
|
|
include::../ask-yourself.adoc[]
|
|
|
|
include::../recommended.adoc[]
|
|
|
|
== Sensitive Code Example
|
|
|
|
----
|
|
<!-- Java Spring defaultHtmlEscape parameter, in web.xml -->
|
|
|
|
<context-param>
|
|
<param-name>defaultHtmlEscape</param-name>
|
|
<param-value>false</param-value><!-- Sensitive -->
|
|
</context-param>
|
|
----
|
|
|
|
== Compliant Solution
|
|
|
|
----
|
|
<!-- Java Spring defaultHtmlEscape parameter, in web.xml -->
|
|
|
|
<context-param>
|
|
<param-name>defaultHtmlEscape</param-name>
|
|
<param-value>true</param-value><!-- Compliant -->
|
|
</context-param>
|
|
----
|
|
|
|
include::../see.adoc[]
|
|
|
|
ifdef::rspecator-view[]
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::rspecator-view[]
|