You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2022/04/28 18:51:46 UTC

[tomcat] branch 10.0.x updated: Fix BZ 66008 - clarify trimSpaces docs

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 2817fa8e12 Fix BZ 66008 - clarify trimSpaces docs
2817fa8e12 is described below

commit 2817fa8e12c4ddac7606aa5c7a8e39c71df8b7a7
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Thu Apr 28 19:50:09 2022 +0100

    Fix BZ 66008 - clarify trimSpaces docs
---
 webapps/docs/changelog.xml    | 9 +++++++++
 webapps/docs/jasper-howto.xml | 4 ++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 0b7fc3d8f3..9dba4aa423 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -153,6 +153,15 @@
       </fix>
     </changelog>
   </subsection>
+  <subsection name="Webapps">
+    <changelog>
+      <fix>
+        <bug>66008</bug>: In the documentation web application, clarify the
+        recommendation for the use the <code>trimSpaces</code> option for Jasper
+        in production environments. (markt)
+      </fix>
+    </changelog>
+  </subsection>
 </section>
 <section name="Tomcat 10.0.20 (markt)" rtext="2022-04-01">
   <subsection name="Catalina">
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index 296d84643a..a97c46854c 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -355,8 +355,8 @@ char arrays, set this to <code>true</code>.</li>
 <li><strong>modificationTestInterval</strong> - If development has to be set to
 <code>true</code> for any reason (such as dynamic generation of JSPs), setting
 this to a high value will improve performance a lot.</li>
-<li><strong>trimSpaces</strong> - To remove useless bytes from the response,
-set this to <code>true</code>.</li>
+<li><strong>trimSpaces</strong> - To remove unnecessary bytes from the response,
+consider setting this to <code>single</code> or <code>extended</code>.</li>
 </ul>
 
 </section>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org