This is an automated email from the ASF dual-hosted git repository.

mlibbey pushed a commit to branch mlibbey-patch-1
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 4429d5fc259cfe17536eb933683a2fd454846fa7
Author: mlibbey <[email protected]>
AuthorDate: Wed Oct 23 10:24:15 2024 -0700

    doc: remove spurious character in header_rewrite example
    
    Guessing a IDE was trying to be helpful and added the ${} for something 
like bash.
---
 doc/admin-guide/plugins/header_rewrite.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/admin-guide/plugins/header_rewrite.en.rst 
b/doc/admin-guide/plugins/header_rewrite.en.rst
index 97431776b6..dcb99bf9cb 100644
--- a/doc/admin-guide/plugins/header_rewrite.en.rst
+++ b/doc/admin-guide/plugins/header_rewrite.en.rst
@@ -282,7 +282,7 @@ These operators can be used both as conditionals, as well 
as values for
 setting headers. For example::
 
     cond %{SEND_RESPONSE_HDR_HOOK} [AND]
-    cond %${GEO:COUNTRY} =US
+    cond %{GEO:COUNTRY} =US
         set-header ATS-Geo-Country %{GEO:COUNTRY}
         set-header ATS-Geo-Country-ISO %{GEO:COUNTRY-ISO}
         set-header ATS-Geo-ASN %{GEO:ASN}

Reply via email to