Bug 20906: Prevent test failures due to stricter perl
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 8 Jun 2018 13:32:02 +0000 (14:32 +0100)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 22 Jun 2018 12:59:09 +0000 (12:59 +0000)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

docs/CAS/CASProxy/examples/proxy_cas_data.pl

index a333f89..34f4ce0 100755 (executable)
@@ -56,7 +56,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...