Commit fefd7232 authored by Xavier Guimard's avatar Xavier Guimard

Avoid some warnings

parent 482a6fb5
......@@ -469,8 +469,7 @@ qq'<h3 trspan="oidcConsent,$display_name">The application $display_name would li
{
my $message = $scope_messages->{$requested_scope}
|| 'anotherInformation';
$req->info(
qq'<li trspan="$message">$message</li>');
$req->info(qq'<li trspan="$message">$message</li>');
}
$req->info('</ul></div>');
$req->datas->{activeTimer} = 0;
......@@ -799,16 +798,18 @@ qq'<h3 trspan="oidcConsent,$display_name">The application $display_name would li
my $redirect_uri_allowed = 0;
foreach ( keys %{ $self->conf->{oidcRPMetaDataOptions} } ) {
my $logout_rp = $_;
my $redirect_uris =
$self->conf->{oidcRPMetaDataOptions}->{$logout_rp}
->{oidcRPMetaDataOptionsPostLogoutRedirectUris};
if ( my $redirect_uris =
$self->conf->{oidcRPMetaDataOptions}->{$logout_rp}
->{oidcRPMetaDataOptionsPostLogoutRedirectUris} )
{
foreach ( split( /\s+/, $redirect_uris ) ) {
if ( $post_logout_redirect_uri eq $_ ) {
$self->logger->debug(
foreach ( split( /\s+/, $redirect_uris ) ) {
if ( $post_logout_redirect_uri eq $_ ) {
$self->logger->debug(
"$post_logout_redirect_uri is an allowed logout redirect URI for RP $logout_rp"
);
$redirect_uri_allowed = 1;
);
$redirect_uri_allowed = 1;
}
}
}
}
......
......@@ -577,6 +577,7 @@ sub setHiddenFormValue {
# Default values
$prefix = "lmhidden_" unless defined $prefix;
$base64 = 1 unless defined $base64;
$val = '' unless defined $val;
# Store value
if ( $val or !( $val & ~$val ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment