CGI: if the "do" parameter is goto, recentchanges_link or commenter, redirect to a page
This can replace equivalent functionality in comments and recentchanges.master
parent
c2dafcb4e5
commit
18f4aeffb1
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue