(tomcat) branch 10.1.x updated: Follow-up to previous revert. Align docs with behaviour.
[email protected] Tue, 04 Aug 2026 12:45:26 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178584752627.1706858.4618120755025136333@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new f3e65d0fc0 Follow-up to previous revert. Align docs with behaviour.
f3e65d0fc0 is described below
commit f3e65d0fc0ad6a05ed5c19cd1632bd390b68e0e8
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 222cbf878d..4bf49c6fc2 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 ca5aa6de08..3bb3c511df 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -694,11 +694,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">
@@ -755,10 +754,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">