Skip to content
Snippets Groups Projects
Commit d3d3f39a authored by Andreas Gohr's avatar Andreas Gohr
Browse files

never redirect from a redirect action

during testing, redirects may not be executed, ActionAbort can default
to redirecting which ould create an infinite loop.
parent 6e4577dc
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Redirect extends AbstractAliasAction {
trigger_event('ACTION_SHOW_REDIRECT', $opts, array($this, 'redirect'));
// should never be reached
throw new ActionAbort();
throw new ActionAbort('show');
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment