Skip to content

Unexpected/wrong/undocumented behavior when using regex_remap plugin #2877

@wederbrand

Description

@wederbrand

According to the documentation defining something like:
map http://a.com http://b.com @plugin=regex_remap.so @pparam=maps.reg
will redirect to http://b.com if none if the rules in maps.reg matches.

However, I've seen that if we instead of http://b.com/ writes http://b.com/default the word default gets prepended to the string being matched. I would expect the "fall through url" to be totally ignored before matching has been done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions