* Correct a bug that could lead to infinite looping after signin in some
circumstances.master
parent
71d8d3bef0
commit
2dfe3efcb7
|
@ -180,13 +180,20 @@ sub cgi_signin ($$) { #{{{
|
||||||
sub cgi_postsignin ($$) { #{{{
|
sub cgi_postsignin ($$) { #{{{
|
||||||
my $q=shift;
|
my $q=shift;
|
||||||
my $session=shift;
|
my $session=shift;
|
||||||
|
|
||||||
# Continue with whatever was being done before the signin process.
|
# Continue with whatever was being done before the signin process.
|
||||||
my $postsignin=CGI->new($session->param("postsignin"));
|
if (defined $session->param("postsignin")) {
|
||||||
$session->clear("postsignin");
|
my $postsignin=CGI->new($session->param("postsignin"));
|
||||||
cgi($postsignin, $session);
|
$session->clear("postsignin");
|
||||||
cgi_savesession($session);
|
cgi($postsignin, $session);
|
||||||
exit;
|
cgi_savesession($session);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
# This can occur, for example, if a user went to the signin
|
||||||
|
# url via a bookmark.
|
||||||
|
redirect($q, $config{url});
|
||||||
|
}
|
||||||
} #}}}
|
} #}}}
|
||||||
|
|
||||||
sub cgi_prefs ($$) { #{{{
|
sub cgi_prefs ($$) { #{{{
|
||||||
|
|
|
@ -36,8 +36,10 @@ ikiwiki (1.44) UNRELEASED; urgency=low
|
||||||
* French translation update. Closes: #411899
|
* French translation update. Closes: #411899
|
||||||
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
|
* Patch from HenrikBrixAndersen to fix a broken use of foreach in the
|
||||||
search plugin.
|
search plugin.
|
||||||
|
* Correct a bug that could lead to infinite looping after signin in some
|
||||||
|
circumstances.
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Fri, 23 Feb 2007 14:34:18 -0500
|
-- Joey Hess <joeyh@debian.org> Fri, 23 Feb 2007 19:06:13 -0500
|
||||||
|
|
||||||
ikiwiki (1.43) unstable; urgency=low
|
ikiwiki (1.43) unstable; urgency=low
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue