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:50:45 UTC

[tomcat] branch main 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 main
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/main by this push:
     new e7108a08cb Fix BZ 66008 - clarify trimSpaces docs
e7108a08cb is described below

commit e7108a08cb065fe1616caea470dbe6f7e0a6c8f1
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 4768a39924..814b4f0f25 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -171,6 +171,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.1.0-M14 (markt)" rtext="2022-04-01">
   <subsection name="Catalina">
diff --git a/webapps/docs/jasper-howto.xml b/webapps/docs/jasper-howto.xml
index 19820f7e2a..a8024bca5b 100644
--- a/webapps/docs/jasper-howto.xml
+++ b/webapps/docs/jasper-howto.xml
@@ -350,8 +350,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