[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] rt branch, 4.4/sys-config-blocks-externalauth, created. rt-4.4.1-215-g399df58
From:       strega () bestpractical ! com (Dustin Collins)
Date:       2016-12-31 23:45:47
Message-ID: 20161231234548.357082418006 () booth ! bestpractical ! com
[Download RAW message or body]

The branch, 4.4/sys-config-blocks-externalauth has been created
        at  399df584a7e94520827ab06d1b951998323a34a6 (commit)

- Log -----------------------------------------------------------------
commit 399df584a7e94520827ab06d1b951998323a34a6
Author: Dustin Collins <strega@bestpractical.com>
Date:   Sat Dec 31 18:45:21 2016 -0500

    Fix ExternalAuth failure from viewing System Configuration
    
    A copy of the source hash is created before replacing the pass to prevent \
modification of the original hash ref.  
    Fixes: I#32469

diff --git a/lib/RT/Config.pm b/lib/RT/Config.pm
index 3407796..3f44ed9 100644
--- a/lib/RT/Config.pm
+++ b/lib/RT/Config.pm
@@ -1492,7 +1492,7 @@ sub GetObfuscated {
     return $self->Get(@_) unless $obfuscate;
 
     my $res = $self->Get(@_);
-    $res = $obfuscate->( $self, $res, $user );
+    $res = $obfuscate->( $self, \%$res, $user );
     return $self->_ReturnValue( $res, $META{$name}->{'Type'} || 'SCALAR' );
 }
 

-----------------------------------------------------------------------
_______________________________________________
rt-commit mailing list
rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic