Skip to content
Snippets Groups Projects
Commit 4e90caaa authored by Michael Hamann's avatar Michael Hamann
Browse files

Redirect only in the show action to namespace start pages FS#2743

When the current page id ends with ":" (or "/" with useslash enabled)
DokuWiki tries to find the start page of namespaces automatically and
then redirects to this page. The target of the redirect is always the
show action regardless if the current request contains another action or
is an ajax request. In practice you can get this problem when your
search query ends with ":" (e.g. because you want to match a namespace),
then you are redirected to the show action.

This change completely disables the redirect when $ACT is undefined or
the current action is not "show".
parent 5721a154
No related branches found
No related tags found
No related merge requests found
Loading
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