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 ab6ddc4573 HRW: Fix parser when conditions are values (#12399)
ab6ddc4573 is described below
commit ab6ddc4573953c081deae5282bc00d371ea44456
Author: Leif Hedstrom <[email protected]>
AuthorDate: Mon Jul 28 21:34:11 2025 +0200
HRW: Fix parser when conditions are values (#12399)
---
plugins/header_rewrite/value.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/header_rewrite/value.cc b/plugins/header_rewrite/value.cc
index b3d8985db2..92d40d5f72 100644
--- a/plugins/header_rewrite/value.cc
+++ b/plugins/header_rewrite/value.cc
@@ -53,7 +53,7 @@ Value::set_value(const std::string &val)
if ((tcond_val = condition_factory(cond_token))) {
Parser parser;
- if (parser.parse_line(_value)) {
+ if (parser.parse_line(cond_token)) {
tcond_val->initialize(parser);
} else {
// TODO: should we produce error here?