46 lines
849 B
Plaintext
46 lines
849 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
|
|
|
|
[source,xml]
|
|
----
|
|
<!-- 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::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|