[EP-tech] set_lang on 3.4.3
Beaudoin, Mario
Mario.Beaudoin at uqtr.ca
Wed Jun 2 17:18:07 BST 2021
CAUTION: This e-mail originated outside the University of Southampton.
Hello,
I just upgrade my dev repository on 3.4.1 to 3.4.3, and since I cannot change language with this code
<a href="{$config{https_root}}/cgi/set_lang?lang=fr">FRANÇAIS</a>
I check the diff in file set_lang.pm with the 3.4.1 version and find that this piece of code does not work on my site
if ( $session->{request}->scheme() eq "https" )
{
my $samesite = "None";
my $secure = 1;
my $httponly = 0;
}
If I comment this "if" loop everything work fine. The site is https all the time.
Any idea why this code does not work on my repository.
Thanks,
Mario Beaudoin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210602/79f6d0c0/attachment.html
More information about the Eprints-tech
mailing list