This is an automated email from the ASF dual-hosted git repository.
markt 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 217f75149f Add deprecation note to docs for regex and
RemoteIp[Filter|Valve]
217f75149f is described below
commit 217f75149f0a3c41833b145e7f46dade45a1ea2f
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Oct 2 09:30:32 2025 +0100
Add deprecation note to docs for regex and RemoteIp[Filter|Valve]
---
webapps/docs/changelog.xml | 3 ++-
webapps/docs/config/filter.xml | 4 ++++
webapps/docs/config/valve.xml | 4 ++++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 3752ad9d69..93dab623e4 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -110,7 +110,8 @@
<add>
Add CIDR support for the configuration of internal and trusted proxies
for the <code>RemoteIpFilter</code> and <code>RemoteIpValve</code>.
- (markt)
+ Configuration via regular expression has been deprecated and will be
+ removed in Tomcat 12. (markt)
</add>
</changelog>
</subsection>
diff --git a/webapps/docs/config/filter.xml b/webapps/docs/config/filter.xml
index b7f6d27798..5bd820db93 100644
--- a/webapps/docs/config/filter.xml
+++ b/webapps/docs/config/filter.xml
@@ -1747,6 +1747,8 @@ FINE: Request "/docs/config/manager.html" with response
status "200"
value of <code>10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16,
169.254.0.0/16, 100.64.0.0/10, 127.0.0.0/8, ::1/128, fe80::/10,
fc00::/7
</code> will be used.</p>
+ <p><strong>Note:</strong> Support for configuration via regular
+ expressions is deprecated and will be removed in Tomcat 12.</p>
</attribute>
<attribute name="proxiesHeader" required="false">
@@ -1772,6 +1774,8 @@ FINE: Request "/docs/config/manager.html" with response
status "200"
<strong>remoteIpHeader</strong> will be trusted and will appear in the
<strong>proxiesHeader</strong> value. If not specified, no proxies will
be trusted.</p>
+ <p><strong>Note:</strong> Support for configuration via regular
+ expressions is deprecated and will be removed in Tomcat 12.</p>
</attribute>
<attribute name="protocolHeader" required="false">
diff --git a/webapps/docs/config/valve.xml b/webapps/docs/config/valve.xml
index c78669b195..802ed1d5e4 100644
--- a/webapps/docs/config/valve.xml
+++ b/webapps/docs/config/valve.xml
@@ -1198,6 +1198,8 @@
value of <code>10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16,
169.254.0.0/16, 100.64.0.0/10, 127.0.0.0/8, ::1/128, fe80::/10,
fc00::/7
</code> will be used.</p>
+ <p><strong>Note:</strong> Support for configuration via regular
+ expressions is deprecated and will be removed in Tomcat 12.</p>
</attribute>
<attribute name="proxiesHeader" required="false">
@@ -1223,6 +1225,8 @@
<strong>remoteIpHeader</strong> will be trusted and will appear in the
<strong>proxiesHeader</strong> value. If not specified, no proxies will
be trusted.</p>
+ <p><strong>Note:</strong> Support for configuration via regular
+ expressions is deprecated and will be removed in Tomcat 12.</p>
</attribute>
<attribute name="protocolHeader" required="false">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]