#96480Avoid evaluating all regexp redirects if early match found
Description
ext:redirects middleware collected all possible redirects,
thus evaluating all regexp redirects to find possible matches.
These collected possible redirects are looped afterwards and
checked, if redirect is active, meaning not having any start
and/or end time constraints or if time constrain is in the active
timespan, returning the first feasonable redirect. However this
evaluated all regexp redirects, even if flat redirects with query
arguments, flat redirects without query arguments or a regexp
redirect is found.
Reviews 5
- 11.5 80079[BUGFIX] Enhance matching order for regex based redirects
- 12.4 80056[BUGFIX] Enhance matching order for regex based redirects
- main 79967[BUGFIX] Enhance matching order for regex based redirects
- 11.5 72980[BUGFIX] Avoid evaluating all regexp redirects if early match found
- main 72904[BUGFIX] Avoid evaluating all regexp redirects if early match found