(tomcat) branch main updated: Follow-up to previous revert. Align docs with behaviour.
[email protected] Tue, 04 Aug 2026 12:45:08 +0000
| Newsgroups | gmane.comp.jakarta.tomcat.devel |
|---|---|
| Message-ID | <178584750863.1705959.15149735018459778865@gitbox3-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
markt-asf 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 70e9d3ad43 Follow-up to previous revert. Align docs with behaviour.
70e9d3ad43 is described below
commit 70e9d3ad43b8b8b7a05866b850ddabed093a7dea
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 7d4e14bdbe..99fe11301d 100644
--- a/webapps/docs/config/http.xml
+++ b/webapps/docs/config/http.xml
@@ -671,11 +671,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">
@@ -721,10 +720,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">