Skip to content

Trying to replace host with port (hostname:5555) doesn't match #16

@bru73f0rc3

Description

@bru73f0rc3

Hi,
I'm trying to perform the following replace:

replace {
    host1.com:4444 host2.com:5555
}

But it won't match host1.com:4444.
if i match only host1.com, no problem the replace works. if i match only 4444, no problem. If i match them in 2 separate lines it matches correctly:

replace {
    host1.com host2.com
    4444 5555
}

But the moment i have a colon it won't match.
also tried with re "host1.com.4444" "host2.com.5555" or just re ".4444" ".5555" no match.
If it makes a difference, i used the recommended order (order replace after encode), and my reverse_proxy is setup with header_up Accept-Encoding identity, or i wouldn't get any matches.
Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions