From fd2a9ce2262883f8a0b2c0b79f17a5419bbee40e Mon Sep 17 00:00:00 2001 From: Christophe Maudoux Date: Fri, 17 Jan 2020 22:27:03 +0100 Subject: [PATCH] Append info log msg (#2061) --- lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm index fc6e8b41b..438f08507 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Run.pm @@ -347,7 +347,10 @@ sub autoRedirect { } else { my $url64 = encode_base64( $req->{urldc}, '' ); - $req->pdata( {} ) if ( $req->{pdata}->{_url} =~ /$url64/ ); + if ( $req->{pdata}->{_url} =~ /$url64/ ) { + $self->logger->info("Force cleaning pdata"); + $req->pdata( {} ); + } return [ 302, [ Location => $req->{urldc}, $req->spliceHdrs ], [] ]; } }