This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 3d8f8b4fc8 Removes matrix parameters from HRW (#11570)
3d8f8b4fc8 is described below
commit 3d8f8b4fc813188caadc8c07f1d3f2c37528a628
Author: Leif Hedstrom <[email protected]>
AuthorDate: Thu Jul 18 21:41:07 2024 -0600
Removes matrix parameters from HRW (#11570)
---
plugins/header_rewrite/conditions.cc | 5 -----
plugins/header_rewrite/statement.cc | 2 --
plugins/header_rewrite/statement.h | 1 -
3 files changed, 8 deletions(-)
diff --git a/plugins/header_rewrite/conditions.cc
b/plugins/header_rewrite/conditions.cc
index 9682d5c8a8..67ed1f7567 100644
--- a/plugins/header_rewrite/conditions.cc
+++ b/plugins/header_rewrite/conditions.cc
@@ -339,11 +339,6 @@ ConditionUrl::append_value(std::string &s, const Resources
&res)
s.append(q_str, i);
Dbg(pi_dbg_ctl, " Query parameters to match is: %.*s", i, q_str);
break;
- case URL_QUAL_MATRIX:
- q_str = TSUrlHttpParamsGet(bufp, url, &i);
- s.append(q_str, i);
- Dbg(pi_dbg_ctl, " Matrix parameters to match is: %.*s", i, q_str);
- break;
case URL_QUAL_SCHEME:
q_str = TSUrlSchemeGet(bufp, url, &i);
s.append(q_str, i);
diff --git a/plugins/header_rewrite/statement.cc
b/plugins/header_rewrite/statement.cc
index 17a1f31736..69bacda1fe 100644
--- a/plugins/header_rewrite/statement.cc
+++ b/plugins/header_rewrite/statement.cc
@@ -104,8 +104,6 @@ Statement::parse_url_qualifier(const std::string &q) const
qual = URL_QUAL_PATH;
} else if (q == "QUERY") {
qual = URL_QUAL_QUERY;
- } else if (q == "MATRIX") {
- qual = URL_QUAL_MATRIX;
} else if (q == "SCHEME") {
qual = URL_QUAL_SCHEME;
} else if (q == "URL") {
diff --git a/plugins/header_rewrite/statement.h
b/plugins/header_rewrite/statement.h
index dfb376908f..1b5798bff3 100644
--- a/plugins/header_rewrite/statement.h
+++ b/plugins/header_rewrite/statement.h
@@ -39,7 +39,6 @@ enum UrlQualifiers {
URL_QUAL_PORT,
URL_QUAL_PATH,
URL_QUAL_QUERY,
- URL_QUAL_MATRIX,
URL_QUAL_SCHEME,
URL_QUAL_URL,
};