X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=blobdiff_plain;f=cgi-auth-flexible.pm;h=e5b89244476da131f03615daf19a367b6c12c0ac;hp=1a2da282a969909b7ca819e20d0f6ca1cc6fa8f6;hb=031ab04359164ef2e3d311e61637491479e6098d;hpb=a0cb0dd1ec2a71a922072f381ee9ed82564ad498 diff --git a/cgi-auth-flexible.pm b/cgi-auth-flexible.pm index 1a2da28..e5b8924 100644 --- a/cgi-auth-flexible.pm +++ b/cgi-auth-flexible.pm @@ -705,6 +705,10 @@ sub check_ok ($) { my $params = $divert->{Params}; my $cookie = $r->construct_cookie($cookiesecret); + if (defined $cookiesecret) { + $params->{$r->{S}{assoc_param_name}} = $r->hash($cookiesecret); + } + if ($kind =~ m/^REDIRECT-/) { # for redirects, we honour stored NextParams and SetCookie, # as we would for non-divert