Review 10.4 Merged

71356[BUGFIX] Respect query string for regexp redirects

Benni Mack CR +2 V +2 Hard +383 −23 updated 10/04/21, 17:54

Commit message

Backend redirect record edit form was not clear about the
fact that regular expression do not respect query parameter
if selected too. RegExp matching has been done only with
the path, even if the request has query parameters.

Thus it was not obvious to users why regular expression
evaluation against query parameter part has not been
matched.

To mitigate this regular expression redirects are matched
against path and query if respect_query_parameters was
set, otherwise against path only.

There may be instances with regexp redirects not covering
query parameters as that have not been checked in the past,
thus we need do a second match only against path to keep
them working.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4