Little bug in CDA

This commit is contained in:
Xavier Guimard 2009-03-31 11:08:54 +00:00
parent b0b971b241
commit 3b8b909f23
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
4
5

View File

@ -43,7 +43,7 @@ sub run ($$) {
$host =~ s/^[^\.]+\.(.*\..*$)/$1/;
lmSetErrHeaderOut( $apacheRequest,
'Set-Cookie' => "$str; domain=$host; path=/"
. ( $cookieSecured ? "; secure" : "" ) );
. ( $https ? "; secure" : "" ) );
return REDIRECT;
}
else {