Better better fix (#2061)

This commit is contained in:
Christophe Maudoux 2020-01-19 18:06:56 +01:00
parent 0fa90c5efe
commit 0408ce80b8

View File

@ -345,8 +345,7 @@ sub autoRedirect {
$req->data->{redirectFormMethod} = "get";
}
else {
my $url64 = encode_base64( $req->{urldc}, '' );
if ( $req->{pdata}->{_url} =~ /$url64/ ) {
if ( $req->{pdata}->{_url} eq encode_base64( $req->{urldc}, '' ) ) {
$self->logger->info("Force cleaning pdata");
$req->pdata( {} );
}