(tomcat) branch 9.0.x updated: Follow-up to previous revert. Align docs with behaviour.
[email protected] Tue, 04 Aug 2026 12:45:30 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178584753055.1707036.10238931605349206482@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new f1512444d9 Follow-up to previous revert. Align docs with behaviour.
f1512444d9 is described below
commit f1512444d9ad4df8c103c34ecbfd280621d09ad2
Author: Mark Thomas <[email protected]>
AuthorDate: Tue Aug 4 13:45:01 2026 +0100
Follow-up to previous revert. Align docs with behaviour.
---
test/org/apache/coyote/http11/TestHttp11Processor.java | 4 +---
webapps/docs/config/http.xml | 17 ++++++++---------
2 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/test/org/apache/coyote/http11/TestHttp11Processor.java b/test/org/apache/coyote/http11/TestHttp11Processor.java
index 96a588dd2d..108e96218e 100644
--- a/test/org/apache/coyote/http11/TestHttp11Processor.java
+++ b/test/org/apache/coyote/http11/TestHttp11Processor.java
@@ -2201,6 +2201,4 @@ public class TestHttp11Processor extends TomcatBaseTest {
Assert.assertTrue(newEncodings.contains("br"));
Assert.assertFalse(newEncodings.contains("gzip"));
}
-
-
-}
\ No newline at end of file
+}
diff --git a/webapps/docs/config/http.xml b/webapps/docs/config/http.xml
index 4a4d59588a..cecbb09dbd 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -710,11 +710,10 @@
<attribute name="noCompressionUserAgents" required="false">
<p>The value is a regular expression (using <code>java.util.regex</code>)
- matching a sub-string of the <code>user-agent</code> header of HTTP
- clients for which compression should not be used, because these clients,
- although they do advertise support for the feature, have a broken
- implementation. The default value is an empty String (regexp matching
- disabled).</p>
+ matching the entire <code>user-agent</code> header of HTTP clients for
+ which compression should not be used, because these clients, although they
+ do advertise support for the feature, have a broken implementation. The
+ default value is an empty String (regexp matching disabled).</p>
</attribute>
<attribute name="processorCache" required="false">
@@ -776,10 +775,10 @@
<attribute name="restrictedUserAgents" required="false">
<p>The value is a regular expression (using <code>java.util.regex</code>)
- matching a sub-string of the <code>user-agent</code> header of HTTP
- clients for which HTTP/1.1 or HTTP/1.0 keep alive should not be used, even
- if the clients advertise support for these features. The default value is
- an empty String (regexp matching disabled).</p>
+ matching the entire <code>user-agent</code> header of HTTP clients for
+ which HTTP/1.1 or HTTP/1.0 keep alive should not be used, even if the
+ clients advertise support for these features. The default value is an
+ empty String (regexp matching disabled).</p>
</attribute>
<attribute name="server" required="false">