From a3b3019ad3df3d4b24e31b23054b540f1df0fee7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 8 Jun 2018 14:32:02 +0100 Subject: [PATCH] Bug 20906: Prevent test failures due to stricter perl Signed-off-by: Tomas Cohen Arazi Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize (cherry picked from commit baf43e6a5b1ddd57306ef779d725e05534aad92b) Signed-off-by: Fridolin Somers --- docs/CAS/CASProxy/examples/proxy_cas_data.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/CAS/CASProxy/examples/proxy_cas_data.pl b/docs/CAS/CASProxy/examples/proxy_cas_data.pl index ba4a138fcd..5a54976962 100755 --- a/docs/CAS/CASProxy/examples/proxy_cas_data.pl +++ b/docs/CAS/CASProxy/examples/proxy_cas_data.pl @@ -57,7 +57,7 @@ if ($cgi->param('PGTIOU')) { # The callback page stored it in the application vars (in our case a storable object in a file) open FILE, "casSession.tmp" or die "Unable to open file"; my $hashref = fd_retrieve(\*FILE); - my $pgtId = %$hashref->{$cgi->param('PGTIOU')}; + my $pgtId = %{$hashref->{$cgi->param('PGTIOU')}}; close FILE; # Now that we have a PgtId, we can ask the cas server for a proxy ticket... -- 2.39.5