Skip to content

Allow header_rewrite to remove query parameters #4670

Closed

Description

@djcarlin

header_rewrite config:

set-destination QUERY ""

result:

[Nov 29 22:45:49.326] {0x2af11f66d700} DIAG: (header_rewrite) Would set destination QUERY to an empty value, skipping

The docs actually mention this - but it seems useful in this case:

You must supply a non-zero length value, otherwise this operator will be an effective no-op (though a warning will be emitted to the logs if debugging is enabled).

https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/header_rewrite.en.html#set-destination

Activity

  1. added a commit that references this issue on Jul 1, 2021
    717c9e3
  2. added a commit that references this issue on Jul 1, 2021
    3ca5eba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions