Skip to content

hrw4u: disallow inbound.url.{} as an operator#13121

Open
mlibbey wants to merge 1 commit intoapache:masterfrom
mlibbey:hrw4u-inbound-url-operator-removal
Open

hrw4u: disallow inbound.url.{} as an operator#13121
mlibbey wants to merge 1 commit intoapache:masterfrom
mlibbey:hrw4u-inbound-url-operator-removal

Conversation

@mlibbey
Copy link
Copy Markdown
Contributor

@mlibbey mlibbey commented Apr 27, 2026

When one uses inbound.url.{} as an operator, for instance: REMAP {
inbound.url.host = "example.com";
}
hrw4u turns this into set-destination which modifies the outbound URL, making the naming actively misleading.

inbound.url reads from the pristine client URL (CLIENT-URL) which is immutable — ATS provides no mechanism to set it. So, removing this as an operator, but keeping it as a valid condition.

@mlibbey mlibbey requested review from bneradt and zwoop April 27, 2026 23:26
@mlibbey mlibbey added the header_rewrite header_rewrite plugin label Apr 27, 2026
When one uses inbound.url.{} as an operator, for instance:
REMAP {
  inbound.url.host = "example.com";
}
hrw4u turns this into set-destination which modifies the outbound URL,
making the naming actively misleading.

inbound.url reads from the pristine client URL (CLIENT-URL) which
is immutable — ATS provides no mechanism to set it. So, removing this
as an operator, but keeping it as a valid condition.
@mlibbey mlibbey force-pushed the hrw4u-inbound-url-operator-removal branch from 7e4119a to 35d44a2 Compare April 28, 2026 18:20
@zwoop zwoop added this to the 11.0.0 milestone May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

header_rewrite header_rewrite plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants