You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2019/09/13 03:56:52 UTC
[trafficserver] branch 8.0.x updated: Substitution string has
changed
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 8.0.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/8.0.x by this push:
new 7f9c4ed Substitution string has changed
7f9c4ed is described below
commit 7f9c4ed4cacf1622a573a4a2d4ea0eacc2633cc5
Author: Miles Libbey <ml...@apache.org>
AuthorDate: Fri Aug 30 12:46:24 2019 -0700
Substitution string has changed
In ATS <=7, $f was the original host header. It isn't anymore.
(cherry picked from commit 9b1511b9a8ec6e8aaed7e70c057bc43d46e5625f)
---
doc/admin-guide/plugins/regex_remap.en.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/admin-guide/plugins/regex_remap.en.rst b/doc/admin-guide/plugins/regex_remap.en.rst
index ead5456..61adbf3 100644
--- a/doc/admin-guide/plugins/regex_remap.en.rst
+++ b/doc/admin-guide/plugins/regex_remap.en.rst
@@ -109,7 +109,7 @@ on the right hand side during evaluation ::
$0 - The entire matched string
$1-9 - Regular expression groups ($1 first group etc.)
- $h - The original host header from the request
+ $h - The host as used in the "to" portion of the remap rule. For a long time it was the original host header from the request.
$f - The host as used in the "from" portion of the remap rule
$t - The host as used in the "to" portion of the remap rule
$p - The original port number