Skip to content
Permalink
Browse files

Escape debug output to aid readability

  • Loading branch information...
markt-asf committed Mar 11, 2019
1 parent 7fc16d1 commit 4fcdf706f3ecf35912a600242f89637f5acb32da
Showing with 4 additions and 2 deletions.
  1. +1 −2 java/org/apache/catalina/ssi/SSIPrintenv.java
  2. +3 −0 webapps/docs/changelog.xml
@@ -41,8 +41,7 @@ public long process(SSIMediator ssiMediator, String commandName,
} else {
Collection<String> variableNames = ssiMediator.getVariableNames();
for (String variableName : variableNames) {
String variableValue = ssiMediator
.getVariableValue(variableName);
String variableValue = ssiMediator.getVariableValue(variableName, "entity");
//This shouldn't happen, since all the variable names must
// have values
if (variableValue == null) {
@@ -90,6 +90,9 @@
Tomcat used to resolve standard XML DTDs and schemas when Tomcat is
configured to validate XML configuration files such as web.xml. (markt)
</fix>
<fix>
Encode the output of the SSI <code>printenv</code> command. (markt)
</fix>
</changelog>
</subsection>
<subsection name="Coyote">

0 comments on commit 4fcdf70

Please sign in to comment.
You can’t perform that action at this time.