[Rt-commit] rt branch, 4.4/sys-config-blocks-externalauth, created. rt-4.4.1-215-g399df58

Dustin Collins strega at bestpractical.com
Sat Dec 31 18:45:47 EST 2016


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

- Log -----------------------------------------------------------------
commit 399df584a7e94520827ab06d1b951998323a34a6
Author: Dustin Collins <strega at 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' );
 }
 

-----------------------------------------------------------------------


More information about the rt-commit mailing list