(tomcat) branch 11.0.x updated: Follow-up to previous revert. Align docs with behaviour.
[email protected] Tue, 04 Aug 2026 12:45:21 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178584752108.1706559.5007918159937756781@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 11.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/11.0.x by this push:
new 1b1b8a3287 Follow-up to previous revert. Align docs with behaviour.
1b1b8a3287 is described below
commit 1b1b8a3287c97b2d8905f2f23ad341ed7c10ab5d
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 8bb298c849..9363c43d06 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 33bc4148a3..49cdb704be 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -676,11 +676,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">
@@ -726,10 +725,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">