diff options
-rw-r--r-- | IkiWiki/CGI.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm index a6b485edb..949390e68 100644 --- a/IkiWiki/CGI.pm +++ b/IkiWiki/CGI.pm @@ -358,7 +358,12 @@ sub cgi (;$$) { error("\"do\" parameter missing"); } } - + + if ($do eq 'goto' || $do eq 'recentchanges_link' || + $do eq 'commenter') { + cgi_goto($q); + } + # Need to lock the wiki before getting a session. lockwiki(); loadindex(); |